If your company blocks port 22

Hmm..Then you won’t be able to access your own public server via SSH.
Here’s a simple way to work around it. Just re-bind the sshd daemon of your server to port 443.

# sed -i 's/Port\s22/Port 443/' /etc/ssh/sshd_config
# /etc/init.d/ssh restart

443 is for HTTPS connection, basically you will not use it. (Unless you are running some serious commercial website which requires SSL). Most importantly your company firewall won’t block this port. So everything would be fine:) You can sometimes check up your own website at work now… But don’t do that frequently, you need to be a good employee or your boss is not happy.

About Kymair

A simple guy living in Zhuhai, likes reading, not go out often.
This entry was posted in Hosting. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>