On Mon, Dec 16, 2002 at 07:04:32PM +0100, Hans-J?rgen Schwarz wrote: > Hello List, > I installed VServer on a Debian woody 3.0 Hostsystem. The VServer itself > is the same system. Everything is working quit well eccept SSH. I > always end up on the host system (With the password from the host of > course) I do a ssh [EMAIL PROTECTED] (IP from VServer) and the server is > asking me about the password, but the password from the vserver seems > not to work or ssh is connecting the host I don't know. I tried it from > outside, from the host and the VServer itself. Can anybody point me to > the right direction?
first, take a look at the log files, to see if your ssh terminates at the right host/vserver/etc ... > Thank you very much > > Hans-Juergen > On Mon, Dec 16, 2002 at 12:14:08PM -0600, robert cope wrote: > On Mon, Dec 16, 2002 at 07:04:32PM +0100, Hans-J?rgen Schwarz wrote: > > > I installed VServer on a Debian woody 3.0 Hostsystem. The VServer itself > > is the same system. Everything is working quit well eccept SSH. I > > Probably, the master host's sshd is not setup to bind itself to only the > master host's IP. Look in '/etc/ssh/sshd_config' for "ListenAddress". while this for sure is a way to configure sshd, a better solution is to use the chbind, or if available v_sshd script (which uses chbind for you ;) chbind --ip <physical-ip> <sshd> <options> you might ask, why should this be better? the answer is simple, if you use for example chbind --ip eth0, sshd will bind to the correct ip, regardless of the actual interface configuration, where a change of the ip address would render a 'ListenAddress' configured sshd useless (maybe paul sladen can explain why this would be preferable ;) ... best, Herbert > robert > > -- > robert cope > [EMAIL PROTECTED]
