OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

show crypto ssh-key

Display the current host public keys used in SSH authentication.

Syntax
show crypto ssh-key {rsa | ecdsa | ed25119}
Parameters
  • rsa — Displays the RSA public key.
  • ecdsa — Displays the ECDSA public key.
  • ed25519 — Displays the Ed25519 key.
Default
Not configured
Command Mode
EXEC
Usage Information
After you regenerate an SSH server key with a customized bit size, disable and re-enable the SSH server to use the new public keys. Use the show crypto command to verify the changes.

If a remote SSH client uses strict host-key checking, copy a newly generated host key to the list of known hosts on the client device.

Example
OS10# show crypto ssh-key rsa
                                       ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCogJtArA0fHJkFpioGaAcp+vrDQFC3l3XFHtd41wXY9kM0Ar+37yRsDul8vKodqSDiGLRuPjFTcVjvDdSKWblJRsybkmA6nuHJIyPOScDepLlicMIOxDhXEE92VRAmGuLI2AoeVYcH+IneWXhwQOkOFLtpxfnsiQY65CfS4aGoHOHWSfX3wI7boEDRDuvZ8gzRxTuM16Qr+RxBLJ7/OzkjNIN1/8Ok+8aJtCoJKbcYaduMjmhVNrNUW5TUXoCnp1XNRpkJzgS7Lt47yi86rqrTCAQW4eSYJIJs4
                                       +4ql9b4MF2D3499Ofn8uS82Mjtj0Nl01lbTbP3gsF4YYdBWaFqp root@OS10
                                    
Supported Releases
10.4.1.0 or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\