Linux – SSH using Terminal via Port

If we have to connect to a remote server using SSH then we can do it using following command.
Suppose we have remote server IP as and username as root

ssh root@

If we need to specify some port then we can do as under. suppose our port number is 2233

ssh -p 2233 root@

Then system will prompt for password. If username and password are correct then user will be logged into server.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.