Re: Running 2 ssh instances

2012-02-15 Thread Chris Davies
Sylvain wrote: > I have a server with an ssh instance configured to run on port 22. I > also configured iptables to have a port-knocking mechanism blocking > connections on port 22. > Now I'd like to run another (restricted) ssh instance for just 1 > particular user, without this port-knocking

Re: Running 2 ssh instances

2012-02-14 Thread Jochen Spieker
Paul E Condon: > > I have been running dozens of instances of ssh simultaneously for > years without doing anything like the above. Either it is entirely > unnecessary or the Debian Maintainer has include all this in his > install script. Or maybe, like gnome-terminal, a single instance can > mana

Re: Running 2 ssh instances

2012-02-14 Thread Rob Owens
On Mon, Feb 13, 2012 at 10:00:33PM -0700, Paul E Condon wrote: > On 20120213_200321, Rob Owens wrote: > > On Tue, Feb 14, 2012 at 12:26:54AM +0100, Claudius Hubig wrote: > > > Hello Sylvain, > > > > > > Sylvain wrote: > > > >Right now I'm a bit confused by the way chroot seems to work with users.

Re: Running 2 ssh instances

2012-02-14 Thread Sylvain
2012/2/14 Rob Owens : > On Tue, Feb 14, 2012 at 12:26:54AM +0100, Claudius Hubig wrote: >> Hello Sylvain, >> >> Sylvain wrote: >> >Right now I'm a bit confused by the way chroot seems to work with users. >> >I'd be grateful if someone had an idea on how to do have an ssh instance >> >running on a

Re: Running 2 ssh instances

2012-02-13 Thread Paul E Condon
On 20120213_200321, Rob Owens wrote: > On Tue, Feb 14, 2012 at 12:26:54AM +0100, Claudius Hubig wrote: > > Hello Sylvain, > > > > Sylvain wrote: > > >Right now I'm a bit confused by the way chroot seems to work with users. > > >I'd be grateful if someone had an idea on how to do have an ssh inst

Re: Running 2 ssh instances

2012-02-13 Thread Rob Owens
On Tue, Feb 14, 2012 at 12:26:54AM +0100, Claudius Hubig wrote: > Hello Sylvain, > > Sylvain wrote: > >Right now I'm a bit confused by the way chroot seems to work with users. > >I'd be grateful if someone had an idea on how to do have an ssh instance > >running on a specific port and allowing

Re: Running 2 ssh instances

2012-02-13 Thread Claudius Hubig
Hello Sylvain, Sylvain wrote: >Right now I'm a bit confused by the way chroot seems to work with users. >I'd be grateful if someone had an idea on how to do have an ssh instance >running on a specific port and allowing only certain users. Check $(man sshd_config) and the AllowUser option. You