« Media-Convert | Main | Atheist quote »

sshd listen on multiple ports

I tried to ssh into my server the other day from behind a very restrictive firewall to read my mail. I found that it wouldn't allow outgoing connections to the standard ssh port (22).

Back at home later I started thinking about installing a web mail program on the server to get around such situations, but eventually solved the problem by doing something much simpler, I configured ssh to listen to more than one port, the second port is a much more commonly allowed port like 80 or 443.

You can do this by configuring multiple Port directives in sshd_config. Don't forget to HUP the ssh daemon once you've done this for the changes to take effect.

TrackBack

TrackBack URL for this entry:
http://www.numbersix.net/cgi-bin/mt/mt-tb.cgi/16

About

This page contains a single entry from the blog

The previous post in this blog was Media-Convert.

The next post in this blog is Atheist quote.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33