19 Apr 2014
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 11.111.111.11 and username as root
ssh root@11.111.111.11
If we need to specify some port then we can do as under. suppose our port number is 2233
ssh -p 2233 root@11.111.111.11
Then system will prompt for password. If username and password are correct then user will be logged into server.