[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running 2 ssh instances

Sylvain <sylvaintersideral@gmail.com> 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 stuff.

The way I'd do this is to run a single instance of sshd, with the
restricted user having their own configuration entry in the sshd_config
(defined by user, group, host identification or IP address; see the
"Match" configuration option). I'd use a firewall rule to bypass the
port knocking requirement.


Reply to: