phatgreenbuds Posted January 12, 2007 Share Posted January 12, 2007 Can PHP read the prompts from a remote machine? In other words I want to use PHP to SSH to another machine and recognize the prompts that the remote box gives for login and other functions. Quote Link to comment https://forums.phpfreaks.com/topic/33922-php-possibilities/ Share on other sites More sharing options...
AV1611 Posted January 12, 2007 Share Posted January 12, 2007 ain't gonna happen Quote Link to comment https://forums.phpfreaks.com/topic/33922-php-possibilities/#findComment-159248 Share on other sites More sharing options...
redbullmarky Posted January 12, 2007 Share Posted January 12, 2007 worth a look [url=http://uk.php.net/ssh]here[/url] Quote Link to comment https://forums.phpfreaks.com/topic/33922-php-possibilities/#findComment-159250 Share on other sites More sharing options...
phatgreenbuds Posted January 12, 2007 Author Share Posted January 12, 2007 SO now I am back to getting PHP to call Expect and have Expect do all the work. Problem is I have found no intelligent documentation for how to get Expect to work with PHP. There are sites that say it will, but provide very sparse bits of information as to what needs to be done to get them working together. Quote Link to comment https://forums.phpfreaks.com/topic/33922-php-possibilities/#findComment-159251 Share on other sites More sharing options...
phatgreenbuds Posted January 12, 2007 Author Share Posted January 12, 2007 Thanks redbullmarky...seems that the myth of the windows "expect dll" is still a myth. I would have to move this whole lab over to *nix to get this working and my laziness is getting in the way of that. Quote Link to comment https://forums.phpfreaks.com/topic/33922-php-possibilities/#findComment-159268 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.