ssh hang on wrong port - is it a bug ?

Darren Tucker dtucker at zip.com.au
Mon Jun 17 21:43:43 EST 2002


Hari wrote:
> As seen below, telnet and ftp sessions do not hang on wrong port no.
> They just print the ssh banner and exit.

Actually, telnet *will* hang after printing the SSH banner. sshd only
disconnects you if you press enter (and thus violate the SSH protocol). 

Telnetting into an FTP server prints the banner and hangs. FTPing into a
telnet server fails to log in but keeps the connection open. So what?

> Wouldn't this be expected for ssh too, to exit when they get connected to a
> wrong server.

I don't see why this is a big deal. You have to manually override the
default or willfully misconfigure it in order to see this behaviour. 

-- 
Darren Tucker (dtucker at zip.com.au)
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list