<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=700040413-11062002>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=700040413-11062002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=700040413-11062002>ssh client program
seems to hang when specified a wrong port no (port on which some other server,
like telnetd is running).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=700040413-11062002>"netstat -an" shows
the connection is established.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=700040413-11062002>I expect the ssh
program to report invalid server msg and exit.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=700040413-11062002>Is this a bug or
known behaviour ???</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=700040413-11062002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=700040413-11062002>I have attached the
-v -v -v output.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=700040413-11062002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=700040413-11062002>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=700040413-11062002>Hari</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=700040413-11062002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[hari@<SPAN class=700040413-11062002>linux</SPAN>
ssh]$ /usr/bin/ssh -v -v -v -p 23 </FONT><A href="mailto:hari@192.168.0.3"><FONT
face=Arial size=2>hari@192.168.0.3</FONT></A><BR><FONT face=Arial size=2>SSH
Version OpenSSH_2.1.1, protocol versions 1.5/2.0.<BR>Compiled with SSL
(0x0090581f).<BR>SSH Version OpenSSH_2.1.1, protocol versions
1.5/2.0.<BR>Compiled with SSL (0x0090581f).<BR>SSH Version OpenSSH_2.1.1,
protocol versions 1.5/2.0.<BR>Compiled with SSL (0x0090581f).<BR>debug: Reading
configuration data /etc/ssh/ssh_config<BR>debug: Applying options for
*<BR>debug: Seeding random number generator<BR>debug: ssh_connect: getuid 502
geteuid 0 anon 0<BR>debug: Connecting to 192.168.0.3 [192.168.0.3] port
23.<BR>debug: Allocated local port 1023.<BR>debug: Connection
established.<BR>
</FONT></DIV></BODY></HTML>