CLI Reference SSH Configuration Commands
Ruijie(config)# crypto key generate rsa
Show the current status of the SSH Server.
crypto key zeroize { rsa | dsa }
Delete DSA and RSA keys and disable the
SSH Server function.
In global configuration mode, use this command to delete the public key on the SSH server.
crypto key zeroize { rsa | dsa }
Global configuration mode.
This command deletes the public key of 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.
Ruijie# configure terminal
Ruijie(config)# crypto key zeroizersa
Show the current status of the SSH Server.
crypto key generate { rsa | dsa }
Generate DSA and RSA keys.
Use this command to disconnect the established SSH session.