[sllug-members]: SSH question
Ryan Jackson
rdjackso at gmail.com
Thu Apr 17 10:58:32 MDT 2008
On Thu, Apr 17, 2008 at 8:51 AM, <mark.k.spute at l-3com.com> wrote:
> I told it the router to listen on port 3022 and forward that to the
> server. Then I set up the server to listen on port 3022 for SSH and
> SSHD. But since then, I can't SSH into the server.
This doesn't resolve your problem, but it may be useful nonetheless.
OpenSSH can listen on multiple ports if you specify multiple 'Port'
directives in sshd_config. So you could have
Port 22
Port 3022
in your sshd_config and then set up your router to forward 3022 to
your server. This way you can ssh into your server from another
machine at home without needing to specify the port number, and you
can have it listen on a high-numbered port to work with your router's
broken port forwarding.
--
Ryan Jackson
More information about the sllug-members
mailing list