Use this command to establish an outbound SSH session for the DUT to a remote host.
| Format | ssh [-l user_name] [-p port_number] {ip-address | hostname} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| -l user_name | Specify the user name to log in on the remote machine. If this parameter is not specified, the user_name currently logged in to the DUT is used as the user name. |
| -p port_number | Specify the port number used to establish the SSH session. If this parameter is not specified, port number 22 is used as the port number. |
| ip-address | The IP address of the host to which to establish the SSH connection. |
| hostname | The hostname of the host to which to establish the SSH connection. |