Brocade Network OS Command Reference v4.1.0 User Manual
Page 1294
1256
Network OS Command Reference
53-1003115-01
ssh
2
ssh
Connects to a remote server using the Secure Shell (SSH) protocol.
Synopsis
ssh [-c] [-l] [-m] {IP Address | hostname}
Operands
-c
Specifies the encryption algorithm for the SSH session. This parameter is
optional; if no encryption algorithm is specified, the default (3des) is used.
Supported algorithms include the following:
3des
Triple Data Encryption Standard (DES). This is the default setting.
aes128-cbc
AES 128-bits
aes192-cbc
AES 192-bits
aes256-cbc
AES 256-bits
-l username
Login name for the remote server. This parameter is optional. If you specify
a username, you will be prompted for a password. If you don’t specify a
username, the command assumes you are logging in as root and will
prompt for the root password.
-m
Specifies the HMAC (Hash-based Message Authentication Code) message
encryption algorithm. This parameter is optional; if no encryption algorithm
is specified, the default (hmac-md5) is used. Supported algorithms include
the following:
hmac-md5
MD5 128-bits. This is the default setting.
hmac-md5-96
MD5 96-bits
hmac-sha1
SHA1 160-bits
hmac-sha1-96 SHA1
96-bits
IP Address
Specify the server IP address in IPv4 or IPv6 format.
hostname
Alternately, specify the host name, a string between 1 and 253 characters.
Defaults
SSH connects to port 22. See Operands for specific defaults.
Command Modes
Privileged EXEC mode
Description
Use this command to establish an encrypted SSH connection from a switch to a remote
networking device. This implementation is based on SSH v2.
Usage Guidelines
The following features are not supported:
•
Displaying SSH sessions
•
Deleting stale SSH keys
Examples
To connect to a remote device using an SSH connection with default settings:
switch# ssh 10.70.212.152
The authenticity of host '10.70.212.152 (10.70.212.152)' can't be established.
RSA key fingerprint is f0:2a:7e:48:60:cd:06:3d:f4:44:30:2a:ce:68:fe:1d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.70.212.152' (RSA) to the list of known hosts.
Password: