Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanna login a guest minix system resides inside VirtualBox through ssh and receive the error ssh_exchange_identification: Connection closed by remote host.

After turn on the verbose flag, the complete output is:

OpenSSH_5.5p1 Debian-4ubuntu6, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 5000.
debug1: Connection established.
debug1: identity file /home/id/.ssh/id_rsa type -1
debug1: identity file /home/id/.ssh/id_rsa-cert type -1
debug1: identity file /home/id/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: identity file /home/id/.ssh/id_dsa-cert type -1
debug1: ssh_exchange_identification: \001/usr/bin/in.rshd: unprotected port (39852)

ssh_exchange_identification: Connection closed by remote host

The /usr/bin/in.rshd is an ssh server on minix. I can't figure out what's going wrong. What may be the problem?

share|improve this question
    
Are you completely, absolutely sure in.rshd is a SSH server? It seems that it is using the rsh protocol -- expecting connections from a privileged port, and returning a rsh error message instead of the SSH handshake. – grawity Nov 17 '11 at 20:47
up vote 0 down vote accepted

I don't think that's an ssh server you're connecting to. It appears to be an rsh server, rsh being a predecessor of ssh that didn't have ssh's encryption or strong authentication features.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .