Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2005 15:03:21 -0800 (PST)
From:      Rob <spamrefuse@yahoo.com>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Cc:        Mick.Walker@bodycareint.com
Subject:   Re: sshd listening on more than one port.
Message-ID:  <20050331230321.50853.qmail@web54009.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



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