In a command line or shell environment window, enter "ssh" followed by a space and the hostname or IP address of the target computer to use secure shell, or SSH. The computer initiating the connection must have an SSH client, and the target computer must be running an SSH server.
Additional parameters, such as login account and connection port, are available to the SSH command but are not necessarily required. SSH command line options typically follow the ssh command and precede the target computer identifier. Other command-line options control the ssh protocol used for the connection, the IP address version, data compression and specify the configuration file or identity file used for the connection.
The SSH client uses the login account used to execute the command if you do not specify another account when issuing the command. To provide a different login account, add the login followed by "@" before the hostname or IP address or use the -l option followed by a space and the login name. The default SSH port is 22. If the administrator has configured the target computer to use a different port for SSH, you must include a colon after the hostname or IP followed by the port number or use the -p option followed by a space and the port number.