Deleting an ssh public key, Shutting down the ssh service – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 65

NOTE
If you are in VCS mode, you must enter RBridge ID configuration mode before
issuing the command, as shown in the example below.
switch# certutil import sshkey user admin host 10.70.4.106 directory /users/home40/
bmeenaks/.ssh file id_rsa.pub login fvt rbridge-id 3
Deleting an SSH public key
Deleting an SSH public key from a switch prevents it from being used for an authenticated login.
You must be in privileged EXEC mode to delete an SSH public key from a switch.
To delete an SSH public key, enter no certutil sshkey user Username followed by either rbridge-id
rbridge-id or rbridge-id all.
switch# no certutil sshkey user admin rbridge-id all
Specifying a specific RBridge ID removes the key from that RBridge ID; specifying all removes it from
all RBridge IDs on the switch.
Shutting down the SSH service
Shutting down the SSH (Secure Socket Handling) service will forcibly disconnect all SSH sessions
running on a switch.
You must be in global configuration mode to shut down the SSH service on a switch.
To shut down the SSH service on a switch, enter ssh server shutdown.
switch(config)# ssh server shutdown
switch(config)#
All SSH sessions are immediately terminated, and cannot be re-established until the service is re-
enabled.
NOTE
If you are in VCS mode, you must enter RBridge ID configuration mode before
issuing the command, as shown in the example below.
switch(config)# rbridge-id 3
switch(config-rbridge-id-3)# ssh server shutdown
switch(config-rbridge-id-3)#
Deleting an SSH public key
Network OS Administrator’s Guide
65
53-1003225-04