RHEL4 + SSH

Ed Wilts ewilts at ewilts.org
Tue Mar 22 14:32:11 UTC 2005


On Tue, Mar 22, 2005 at 09:16:43PM +0800, Ed Greshko wrote:
> 
> >Looks like this has something to do with SSH rejecting any connection
> >made to its port (some kinda security feature maybe), casue even when
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Of course!  ssh is for encrypted communcations but it requires smarts on
both end of the connection.  telnet doesn't have those smarts.

> >i telnet SSH port on RHEL 2.1 and 3.3 i get the same error, the
> >connection is made, the moment instead of pressing ESC string, if i
> >press enter it generates the same error...
> >
> 
> That is *exactly* what it is supposed to do.....
> 
> egreshko at gangster egreshko]$ telnet misty.greshko.com 22
> Trying 192.168.0.55...
> Connected to misty.greshko.com (192.168.0.55).
> Escape character is '^]'.
> SSH-2.0-OpenSSH_3.6.1p2
> 
> Protocol mismatch.
> Connection closed by foreign host.
> 
> Absolutely normal....

Considering that the error message is "protocol mismatch", I'm not sure
what everybody else is expecting.  It does tell you that the ssh server
is listening, but that you're not trying to talk ssh to it.  Telnet is
a totally different protocol from ssh.  Just because they're both
normally for terminal communications doesn't mean that they'll
interoperate with each other. 

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list