Hello,
thank you for response, more in you text:
Instead of ssh, you could use telnet to connect to the Cisco router
(which incidentally runs on port 23, but is likely to be disabled on
I want to use my script against FreeBSD router and against RouterOS so I need
ssh. I can use system function
From: Radek Krejca
I am trying send command to remote host over ssh with sockets. But
I need to set up username/password. I am trying to modify this script
(from www.php.net - function fsockopen), but I dont know, where set
username/password because I got this message:
Bad protocol version
Hello,
I am trying send command to remote host over ssh with sockets. But I need to
set up username/password. I am trying to modify this script (from www.php.net -
function fsockopen), but I dont know, where set username/password because I got
this message:
Bad protocol version identification
Instead of ssh, you could use telnet to connect to the Cisco router
(which incidentally runs on port 23, but is likely to be disabled on
the cisco router, unless you have a pre-SSH capable IOS running on it
(like my old cisco crap :( ) ), because i strongly doubt you have
written or are willing to
4 matches
Mail list logo