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 184.108.40.206 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 firstname.lastname@example.org
Then system will prompt for password. If username and password are correct then user will be logged into server.