Page 1 of 1

[SOLVED] Connecting to SSH remote with PHP

Posted: Tue Mar 22, 2005 6:03 pm
by William
Dear All,

I am currently working with a company and I need to make a script that connects to the SSH and installs a gaming server, So I want to basicly learn how to login, and execute a command using SSH, The rest I can figure out but I can figure out how to login using fsockopen(), Any ideas? Thanks

Posted: Tue Mar 22, 2005 6:23 pm
by William
Ah nvm, Thanks though. I am going to make it so it exec() on current machine and runs key's to connect to another. Thanks all.

Posted: Wed Mar 23, 2005 1:26 am
by timvw
you might want to check out the ssh extension... pecl.php.net