SYSTEM MANAGEMENT COMMANDS

Command Mode

Privileged Exec

Command Usage

If no parameters are entered, all keys are displayed. If the user keyword is entered, but no user name is specified, then the public keys for all users are displayed.

When an RSA key is displayed, the first field indicates the size of the host key (e.g., 1024), the second field is the encoded public exponent (e.g., 35), and the last string is the encoded modulus. When a DSA key is displayed, the first field indicates that the encryption method used by SSH is based on the Digital Signature Standard (DSS), and the last string is the encoded modulus.

Example

Console#show public-key host Host:

RSA:

1024 35

1568499540186766925933394677505461732531367489083654725415020245593

1998685443583616519999233297817660658309586108259132128902337654680

1726272571413428762941301196195566782595664104869574278881462065194

1746772984865468615717739390164779355942303577413098022737087794545

24083971752646358058176716709574804776117

DSA: ssh-dssAAAB3NzaC1kc3MAAACBAPWKZTPbsRIB8ydEXcxM3dyVyrDbKStIlnzDDg0h2 HxcYV44sXZ2JXhamLK6P8bvuiyacWbUWa4PAtp1KMSdqsKeh3hKoA3vRRSy1N2XFfAK xl5fwFfvJlPdOkFgzLGMinvSNYQwiQXbKTBH0Z4mUZpE85PWxDZMaCNBPjBrRAAAAFQ Chb4vsdfQGNIjwbvwrNLaQ77isiwAAAIEAsy5YWDC99ebYHNRj5kh47wY4i8cZvH+p9 cnrfwFTMU01VFDly3IR2G395NLy5Qd7ZDxfA9mCOfTyyEfbobMJZi8oGCstSNOxrZZV nMqWrTYfdrKX7YKBwKjw6BmiFq7O+jAhf1Dg45loAc27s6TLdtny1wRqow2eTCD5nek AAACBAJ8rMccXTxHLFAczWS7EjOyDbsloBfPuSAb4oAsyjKXKVYNLQkTLZfcFRu41bS 2KV5LAwecsigF+DjKGWtPNIQqabKgYCw2odVzX4Gg+yqdTlYmGA7fHGm8ARGeiG4ssF Ky4Z6DmYPXFum1Yg0fhLwuHpOSKdxT3kk475S7 w0W

Console#

4-57

Page 305
Image 305
SMC Networks SMC6224M manual Console#show public-key host Host