You can disable the SSH client functionality on the switch. By default, the SSH client functionality is enabled.
Note
In order to enable the SSH client functionality, SSH must be enabled globally.
enable
configure terminal
no ssh client <enable>
ssh client <enable>
default ssh client <enable>
Note
You must enable SSH globally before the SSH client functionality can be re-enabled.
Display the general SSH settings::
Switch:1(config)# show ssh global
Total Active Sessions : 0 version : v2only port : 22 max-sessions : 4 timeout : 60 action rsa-host key : rsa-hostkeysize 2048 action dsa-host key : dsa-hostkeysize 1024 rsa-auth : true dsa-auth : true pass-auth : true keyboard-interactive-auth : false sftp enable : true enable : true client enable : true
Disable SSH client functionality:
Switch:1(config)# no ssh client
Switch:1(config)# show ssh global
Total Active Sessions : 0 version : v2only port : 22 max-sessions : 4 timeout : 60 action rsa-host key : rsa-hostkeysize 2048 action dsa-host key : dsa-hostkeysize 1024 rsa-auth : true dsa-auth : true pass-auth : true keyboard-interactive-auth : false sftp enable : true enable : true client enable : false