Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-729
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set ssh mode
set ssh mode
To set the Secure Shell (SSH) version, use the set ssh mode command.
set ssh mode {v1 | v2}
Syntax Description
Defaults If you do not specify either the v1 or the v2 keyword, SSH operates in compatibility mode. See the
“Usage Guidelines” for more information about compatibility mode.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The current implementation of Secure Shell encryption supports SSH version 1 and version 2. SSH version 1
supports the DES and 3DES encryption methods, and SSH version 2 supports the 3 DES and AES encryption
methods.
Secure shell encryption can be used with RADIUS and TACACS+ authentication. To configure
authentication with Secure Shell encryption, use the telnet keyword in the set authentication
commands.
If you enter the set ssh mode v1 command, the server accepts only SSH version 1 connections. If you
enter the set ssh mode v2 command, the server accepts only SSH version 2 connections.
In compatility mode, both SSH version 1 connections and version 2 connetions are supported. You can
return to compatibility mode after operating in version 1 or version 2 mode by entering the clear ssh
mode command.
Examples This example shows how to configure SSH to accept only version 1 connections:
Console> (enable) set ssh mode v1
SSH protocol mode set to SSHv1 Only.
Console> (enable)
This example shows how to configure SSH to accept only version 2 connections:
Console> (enable) set ssh mode v2
SSH protocol mode set to SSHv2 Only.
Console> (enable)
v1 SSH version 1.
v2 SSH version 2.