On 9/16/07, Samir Kuthiala <[EMAIL PROTECTED]> wrote: > Hi all, > > I recently installed UML on my machine. I am using the slirp for networking > to connect to my guest and have forwarded port 2222 on the host to port 22 > on guest machine. However I am unable to ssh into the guest from my host. > This is the error I am getting. > > ==================================== > $ ssh -vp 2222 127.0.0.1 > OpenSSH_4.3p2 Debian-8ubuntu1, OpenSSL 0.9.8c 05 Sep 2006 > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: Applying options for * > debug1: Connecting to 127.0.0.1 [127.0.0.1] port 2222. > debug1: Connection established. > debug1: identity file /home/samir/.ssh/identity type -1 > debug1: identity file /home/samir/.ssh/id_rsa type -1 > debug1: identity file /home/samir/.ssh/id_dsa type -1 > ssh_exchange_identification: Connection closed by remote host > ==================================
Instead of the last error line, you should have received a debug1: Remote protocol version ... line. Hence, the forwarding from 127.0.0.1:2222 to your guest's ssh port is likely not working. You can check this with telnet 127.0.0.1 2222 <-- you ought to see your guest's sshd banner, but may see the connection get established, then closed without data. _______________________________________________ Slugnet mailing list [email protected] http://www.lugs.org.sg/mailman/listinfo/slugnet
