![]() |
FSockOpen & SSH
Issue:
PHP Code:
Connecting to SSH: SSH-1.99-OpenSSH_3.9p1 ________________________________ I need to be able to login etc, with telnet i had ot send a header but so far a google search for an SSH header has been fruitless. This is what the telnet one looked like: Code:
$header1=chr(0xFF).chr(0xFB).chr(0x1F).chr(0xFF).chr(0xFB). How can I do this with SSH via PHP? |
Maybe if your server has it installed or you are able to get it installed you could use the Secure Shell2 functions?
http://uk2.php.net/manual/en/ref.ssh2.php Not the best solution, especially with people finding it hard to use the functions. But i'm tired and can't think at the moment, lol. |
I've seen this question before somewhere!! :eek:
|
Cant use SSH2 its on shared hosting - but the server i need access to is on a dedicated were renting ^_^;;;;
|
I've never had to try and connect so I wouldnt know where to start but google, which seems to have plenty of tutorials..
http://www.google.com/search?q=php+ssh |
Thanks scott.
|
All times are GMT -5. The time now is 11:14 PM. |
Powered by vBulletin®