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?
in.rshdis 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