7 ip ssh server version, 8 show ip ssh server session – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 748

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 748 of 855

40.7 ip ssh server version

To configure Secure Shell (SSH) version on your switch, use the ip ssh server version command in
global configuration mode. To restore the default value, use the no form of this command.


Command Syntax

ip ssh server version {1 | 2 | all}
no ip ssh server version

1

Switch runs only SSH Version 1.

2

Switch runs only SSH Version 2.

all

Version 1 and Version 2 are both supported.


Default

The default SSH version is 2.


Command Mode

Global configuration


Usage

You can use this command with the 2 keyword to ensure that your switch will not inadvertently
establish a weaker SSH Version 1 connection.


Examples

The following example shows that only SSH Version 1 support is configured:
Switch(config)# ip ssh server version 1
The following example shows that only SSH Version 2 is configured:
Switch(config)# ip ssh server version 2
The following example shows that SSH Versions 1 and 2 are configured:
Switch(config)# no ip ssh server version


Related Commands

show ip ssh server status

40.8 show ip ssh server session

To display the session information for Secure Shell (SSH), use the show ip ssh server session
command in Privileged EXEC mode.


Command Syntax

show ip ssh server session

Advertising