>[root@internet /root]# ssh -v 111.111.111.111
>SSH Version OpenSSH-1.2.2, protocol version 1.5.
>Compiled with SSL.
>debug: Reading configuration data /etc/ssh/ssh_config
>debug: Applying options for *
>debug: ssh_connect: getuid 0 geteuid 0 anon 0
>debug: Connecting to 111.111.111.111 [111.111.111.111] port 22.
>debug: Allocated local port 977.
>debug: Connection established.
>ssh_exchange_identification: read: No such file or directory
>debug: Calling cleanup 0x80560b0(0x0)
It looks like the other side isn't playing ball and dropped the
connection. Or some firewall got in the way. Could it have something to
do with using a privileged port (997)? Try -P.
A good session starts like this:
SSH Version OpenSSH-1.2.2, protocol version 1.5.
Compiled with SSL.
debug: Reading configuration data /etc/ssh/ssh_config
debug: ssh_connect: getuid 502 geteuid 0 anon 0
debug: Connecting to xxx.yyy.zzz [10.10.10.10] port 22.
debug: Allocated local port 998.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version 1.2.27
debug: Waiting for server public key.
What are the * options in /etc/ssh/config anyway?
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug