Command Reference SSH Commands
Configuration
Examples
Ruijie# disconnect ssh 1 Or
Ruijie# disconnect ssh vty 1
Command Description Related
Commands
show ssh
Displays information about the established SSH connection.
clear line vty line_number
Disconnects the current VTY connection.
Platform
Description
N/A
show crypto key mypubkey
Use this command to query the public key part of the public key on the SSH server.
show crypto key mypubkey {rsa/dsa}
Parameter Description
rsa
Displays the public key part of the RSA key.
Parameter
Description
dsa
Displays the public key part of the DSA key.
Defaults
N/A.
Command
Mode
Privileged EXEC mode
Usage Guide
Use this command to query the public key part of the generated public key on the SSH server,
including the key generation time, key name, and contents of the public key part.
Configuration
Examples
Ruijie# show crypto key mypubkey rsa
Command Description Related
Commands
crypto key generate {rsa | dsa}
Generates the DSA and RSA keys.
Platform
Description
N/A
show ip ssh
Use this command to query the effective configuration of the SSH server.
show ip ssh
Parameter
Parameter Description