Re: [Vserver] ssh into a vserver

From: Michael S. Zick <mszick_at_morethan.org>
Date: Tue 07 Feb 2006 - 20:10:45 GMT
Message-Id: <200602071410.45571.mszick@morethan.org>

On Tue February 7 2006 13:50, Norbert Klamann (gpre) wrote:
> Herbert Poetzl schrieb:
> > On Tue, Feb 07, 2006 at 06:06:08PM +0100, Norbert Klamann (gpre) wrote:
> >
> >>Hello all,
> >>i have a debian sarge box with a vserver guest in it, both have to
> >>share the same ip and I configured the vserver with nodev.
> >>
> >>My version of the vserver-Software is vs2.0.1 against a 2.6.14.3 - Kernel.
> >>
> >>I installed sshd in it and bound it to the IP-Adress (not 0.0...) and
> >>another port than the host.
> >
> >
> > you got it the wrong way, the guest's sshd does not need
> > any changes, the host's sshd has to be restricted to some
> > host IPs, otherwise ...
>
> But I have less ip-adresses than vservers,
>
How can this be? You can run a local network on a single machine with
a single network interface and a public network address at the same time.

How have you setup your iptables in the host? Got -SNAT?

Mike
> so the host and the guest
> have to share . I was under the impression that it is possible to have 2
> sshds on 1 ip-adress but 2 ports. Shouldn't this work ?
>
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Feb 7 20:11:16 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 07 Feb 2006 - 20:11:20 GMT by hypermail 2.1.8