I am not too sure about that. My host machine has a dynamic ip assigned by dhcp (generally someting like 10.0.0.*). I am able to do ssh -p 2222 10.0.0.14. It has one more ip in the range of 169.*. That also works. Its just that it has trouble swallowing 127.0.0.1. From what I understand after some googling, this is one of the security policies in ssh to not allow connections to a known host (in this case itself) at a different port. So its something on my host machine which blocks calls of this type.
The same concept seems to work well from windows (when I use colinux to run my uml guest). ~Samir On 9/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 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
