How to SSH on a port other than 22

If you are on Linux system and you want connect to an SSH server on port 26 you can use the following command.


  • Replace server IP with the IP Address or DNS name of your server.
  • Change your port number as you have set.
  • If you are using custom port SSH then same port most be allowed for outbound, inbound connection on firewall otherwise the connection will not establish

Nhận xét

Bài đăng phổ biến từ blog này

Tạo SSH key trên MAC OS X

Journalctl: How to Read and Edit Systemd Logs