9-61
Cisco MGX 8850 (PXM1E/PXM45), Cisco MGX 8950, Cisco MGX 8830, and Cisco MGX 8880 Configuration Guide
Release 5.0.10, OL-3845-01 Rev. B0, August 16, 2004
Chapter 9 Switch Operating Procedures
Starting and Managing Secure (SSH) Access Sessions Between Switches
Starting a Secure Session Between Switches
To start a secure session, enter the ssh command as follows:
mgx8830a.1.PXM.a >
ssh
[-l
username
] [-v] [-V] [-q] [-e] [-p] [-1] [-2] [username@]host
[command]
describes the parameters for this command.
Table 9-28 Command Parameters for ssh
Parameter
Description
-l username
Specifies a username for login on the remote host. If no username is specified,
the client switch where you enter this command uses your current login name.
Example:
PXM1E_SJ.7.PXM.a >
ssh
-l superuser 172.29.52.56
[email protected]'s password:
M8850_NY.7.PXM.a >
-v
The verbose (lowercase v) option displays status messages regarding the
establishment of the secure connection. You can enter the -v option up to three
times to increase the level of message reporting. One -v provides the least
detail and -v -v -v provides the most detail.
-V
The version option (upper case V) displays the SSH version information only
as shown in the following example:
PXM1E_SJ.7.PXM.a >
ssh
-V 172.29.52.88
SSHield_1.6.1 derived from OpenSSH_3.0.2p1, SSH protocols 1.5/2.0,
OpenSSL 0x0090602f
Note
The -V option takes precedence over other command options. For
example, a remote switch IP address is specified in the above example.
In this example, the switch displays only the version information and
does not establish a secure session with the remote switch.
-q
The quiet option suppresses warning messages.
-e
The escape option defines an escape character for the session. To specify no
escape character, enter “none.” The default escape character is the tilde symbol
(~).
-p
The port option specifies the port to connect to at the remote server. The default
value for the client and the server is 22. If you change the port number at the
remote switch, you must specify the correct port number when entering the ssh
command.
-1
The -1 option forces the secure session to use the SSH Version 1 protocol.
-2
The -2 option forces the secure session to use the SSH Version 2 protocol.
username@
Specifies a username for login on the remote host. If no username is specified,
the client switch where you enter this command uses your current login name.
Example:
PXM1E_SJ.7.PXM.a >
ssh
[email protected]'s password: