Specifications
9-60
Cisco MGX 8800/8900 Series Software Configuration Guide
Release 5.1, Part Number OL-6482-01, Rev. A0, January 25, 2005
Chapter 9 Switch Operating Procedures
Starting and Managing Secure (SSH) Access Sessions Between Switches
Further, MGX switches support an ssh client. This client allows the MGX server to connect to any ssh
server. Of course, one example of an ssh server is the MGX switch.
The following sections describe:
• Starting a Secure Session Between Switches
• Returning to the Previous Session
Tip For instructions on establishing a secure session between a workstation and a switch, see “Starting a
Secure (SSH) CLI Session” in Appendix C, “Supporting and Using Additional CLI Access Options.”
The section on establishing secure sessions from a workstation contains additional information on the
secure session feature.
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]
Table 9-28 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
superuser@172.29.52.56'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 previous 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 (~).