SSH On Multiple Ports

It is possible to have ( server) to listen on multiple ports. some places block the default for SSH. To over come this you can use another such as 3389 (which happens to be the Windows number) which may not be blocked.

In Ubuntu edit the /etc/ssh/sshd_config and add another entry or what ever port number. For convention I’d recommend adding it above or below the default Port 22. Save and exit the text editor and restart the for the new settings to take effect sudo /etc/init.d/ssh restart.

Remember to configure the router with the new port.

running sshd on 2 ports? Ubuntu forum post

Related posts:

  1. O2 Blocks Port 25
  2. Ubuntu 10.04 Firewall (UFW) Basics
  3. Enable SFTP On VSFTPD In Ubuntu
  4. Netstat By Port
  5. Setting Up CUPS (Print Server) On Ubuntu 8.04

About Danny

Young I.T software professional always studying and applying the knowledge gained and one way to do this is blogging. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny is now in the industry that he has aimed since leaving school. View all posts by Danny → This entry was posted in Linux, Security and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

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

*

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.