How to SSH on a port other than 22 1

How to SSH on a port other than 22

ssh -p PORT_NUMBER user@IP-Address

Here is what the above code is Doing:
1. We are using the ssh command to connect to the remote server.
2. We are using the -p flag to specify the port number.
3. We are using the user@IP-Address to specify the user and the IP address of the remote server.

Similar Posts