xAbsoluteZerox Posted November 29, 2007 Share Posted November 29, 2007 Hi, New here so if I do something wrong I apologize. I'm running a Windows webserver and I would like to use PHP to connect to my linux box (non-webserver), send it commands (change directory, run commands, create files, etc) and files, and be able to get files back that it created on the linux box. The linux machine has ssh/sftp (with password) access, so is there a way for me to connect through ssh without installing extension libraries and run commands etc? I've searched through the forums and haven't found anything that is my particular situation. Thanks! Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 29, 2007 Share Posted November 29, 2007 Take a look at http://www.php.net/manual/en/ref.ssh2.php Ken Quote Link to comment Share on other sites More sharing options...
xAbsoluteZerox Posted November 29, 2007 Author Share Posted November 29, 2007 Again, I don't have any extensions on the Windows web server, so I don't have access to those functions. Quote Link to comment Share on other sites More sharing options...
trq Posted November 29, 2007 Share Posted November 29, 2007 is there a way for me to connect through ssh without installing extension libraries and run commands etc? No. You need the ssh2 extension to do this from php. Quote Link to comment 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.