force port redirection for list of users

Darren Tucker dtucker at
Tue Jul 18 18:43:01 AEST 2017

On Sun, Jul 9, 2017 at 2:41 AM, Sudarshan Soma <sudarshan12s at>

> Hi ,
> I have the following requirement .
> other than following users, any other user sshd connection should be
> redirected to 2024 instead of port 22.

I can't think of a way to "transparently" redirect to another port, but if
you have one sshd listening on both you can use "Match LocalPort 2024" to
configure different behaviour on that port.

What are you trying to achieve with this redirection?

Darren Tucker (dtucker at
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list