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