sshd listening on more than one port.

Rob spamrefuse at yahoo.com
Thu Mar 31 15:03:23 PST 2005


Mick Walker wrote:
> 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.

In /etc/rc.conf, use:

sshd_enable="YES"
sshd_flags="-p 22 -p 1234"

and add more, if you like.
Then restart the ssh daemon.

Rob.


		
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest


More information about the freebsd-questions mailing list