About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 16 Dec 2002 - 18:37:15 GMT


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 root_at_1.2.3.4 (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
> robert_at_gonkgonk.com


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 16 Dec 2002 - 18:56:09 GMT by hypermail 2.1.3