How to SSH on a port other than 22
ssh USER@HOSTNAME -p PORT
Note:
- 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
Đăng nhận xét