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
==================================

This is despite that if I run the same command using my host's current ip (
10.0.0.*) I am able to ssh into the guest.

>From what I understand this is some sort of a security feature in ssh. I
have tried importing the ssh keys of my guest into my known_hosts but no
luck so far.

Has anyone experienced this problem before? Any pointers would be
appreciated. Thanks.

Samir
_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to