ssh hang on wrong port - is it a bug ?

Hari hari at isofttechindia.com
Tue Jun 11 23:08:35 EST 2002


Hi,

ssh client program seems to hang when specified a wrong port no (port on
which some other server, like telnetd is running).
"netstat -an" shows the connection is established.
I expect the ssh program to report invalid server msg and exit.
Is this a bug or known behaviour ???

I have attached the -v -v -v output.

Thanks,
Hari


[hari at linux ssh]$ /usr/bin/ssh -v -v -v -p 23 hari at 192.168.0.3
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for *
debug: Seeding random number generator
debug: ssh_connect: getuid 502 geteuid 0 anon 0
debug: Connecting to 192.168.0.3 [192.168.0.3] port 23.
debug: Allocated local port 1023.
debug: Connection established.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020611/34ce1f9a/attachment.html 


More information about the openssh-unix-dev mailing list