Ssh Commands - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

1

SSH Commands

SSH Commands
display public-key local
Syntax
display public-key local { dsa | rsa } public
View
Any view
Parameters
dsa: Displays the public key of the current switch's DSA key pair.
rsa: Displays the public key part of the current switch's RSA key pair(s).
Description
Use the display public-key local command to display the public key part of the current switch's key
pairs.
Because an S3100-SI switch supports only the SSH2 mode, using the display public-key local rsa
public command on it can display only one public key (that is, the host public key) after the RSA key
pair is generated.
Related commands: public-key local create.
Examples
# Display the public key part of the current switch's RSA key pair(s).
<Sysname> display public-key local rsa public
=====================================================
Time of Key pair created: 23:48:18
Key name: Sysname_Host
Key type: RSA encryption Key
=====================================================
Key code:
30819F300D06092A864886F70D010101050003818D0030818902818100C7C4D2E1C59A7590
8417C660AD1D5EB172AB6EE9AAF994DB7A1C31EB87F750EE12A57832C6070FC008A5EE2B66
2000/04/03
1-1

Advertisement

Table of Contents
loading

Table of Contents