Check your /var/log/secure file and /var/log/messages file or where ever you keep your particular logs. See if you get some sort of can't attach to /dev/ptms error.

If so there is your problem, you have a devfs issue.

My fix was to recompile with out /dev/fs (the default), insure that linux 98 pty support was enabled, legacy ttys enabled and boot with the devfs=nomount option.

I'm using the slackware 10.1 root images available here, search back for my thred on current root images for some pointers.

I also had this ssh issue recently and searching the thred for ssh will help you as well.

Hope this helped.


----- Original Message ----- From: "Dominik Wezel" <[EMAIL PROTECTED]>
To: <user-mode-linux-user@lists.sourceforge.net>
Sent: Wednesday, April 20, 2005 8:26 AM
Subject: [uml-user] sshd running in an UML seems to refuse connections from outside



Hi

I've just begun about 3 weeks ago to delve into UML.  After the (usual)
hard and steep learning curve, I'm now quite satisfied with the setup,
except for one thing I just can't explain: sshd seems to refuse
connections from outside.

My setup:

· host and umls: debian sarge
· host runs kernel-image-2.6.10-2005.04.07-skas3-v8-rc5_1.0_i386.deb
(built with kernellab)
· umls run linux-2.6.10 built with ARCH=um
· root_fs is a debian sarge, debootstrapped from ftp://ftp.debian.org/debian
· ssh is standard debian sarge install
· network: tun/tap with a public bridge (br0 with eth0 on it) on the host
-> ping works in both directions, so does telnet; ssh only works from
UML to outer world, but not in.
-> debug log from 192.168.22.195:# ssh -v -v -v 192.168.69.222:

debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.69.222 [192.168.69.222] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer

Any ideas?

--

Dominik



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to