341 |341
Enters the configuration mode
ip ssh {version compatibility | cipher ([des-cbc]
[3des-cbc]) | auth ([hmac-md5] [hmac-sha1]) |
port <(1024-65535)>}
versioncompatibility- Specify whether
switch should process both version 1
and version 2 SSL messages.
cipher – Specify the encryption
algorithm.
auth –Specify the authentication
algorithm.
port - Specify SSH port in range 1024-
Exits the configuration mode.
Displays the SSH configuration.
Optional step – saves this configuration
to be part of startup configuration.
The “no ip ssh {version compatibility | cipher ([des-cbc] [3des-cbc]) | auth ([hmac-md5]
[hmac-sha1]) | port <(1024-65535)>}” command disables SSH.
The example below shows the commands used to configure SSH.
SMIS# configure terminal
SMIS(config)# ip ssh version compatibility
SMIS(config)# end
SMIS# show ip ssh
Version : Both
Cipher Algorithm : 3DES-CBC
Authentication : HMAC-SHA1
Trace Level : None
SMIS# configure terminal
SMIS(config)# ip ssh cipher des-cbc
SMIS(config)# end
SMIS# show ip ssh
Version : 2
Cipher Algorithm : DES-CBC
Authentication : HMAC-SHA1
Trace Level : None
SMIS# configure terminal
SMIS(config)# ip ssh auth hmac-md5