Configuration Guide SSH Commands
Use this command to delete a public key to the SSH server.
crypto key zeroize { rsa | dsa }
Global configuration mode
This command deletes the public key to the SSH server. After the key is deleted, the SSH server
state becomes DISABLE. If you want to disable the SSH server, run the no enable service
ssh-server command.
The following example deletes a RSA key to the SSH server.
Ruijie# configure terminal
Ruijie(config)# crypto key zeroize rsa
Displays the current status of the SSH server.
crypto key generate { rsa | dsa }
Generates DSA and RSA keys.
Use this command to disconnect the established SSH connection.
disconnect ssh [ vty ] session-id
Established VTY connection
ID of the established SSH connection, in the range from 0 to 35