Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2005 17:43:45 +0000
From:      jshamlet@comcast.net
To:        Mick.Walker@bodycareint.com
Cc:        freebsd-questions@freebsd.org
Subject:   RE: sshd listening on more than one port.
Message-ID:  <033120051743.10534.424C36D10008D7EF0000292622070009539B0A04030E089C06@comcast.net>

next in thread | raw e-mail | index | archive | help
> Hello,
> 
> I am wanting to know if it is possible to enabled the sshd to listen on
> more than one port, without having to spawn another instance of the
> server itself.
> If it is possible does anyone have any idea how I could accomplish this.
> 
> Thanks in advance.
> 
> Mick Walker

Yes, simply add additional Port lines to your sshd_config file and kill -HUP your sshd server.

For example, my ssh server listens on 22 & 23 because of the way I handle incoming NAT connections, so I have:

Port 22
Port 23

in my config file.

Regards,
Seth Henry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?033120051743.10534.424C36D10008D7EF0000292622070009539B0A04030E089C06>