1-19
Input the bits in the modulus[default = 1024]:
Generating keys...
...............................................++++++
......++++++
.................++++++++
.....++++++++
.......
[Sysname] public-key local export rsa ssh2 pub
# Send the public key file of the SSH client to the SSH using FTP or TFTP. The configuration is omitted.
# On the SSH server, import the SSH client's public key from the public key file, and then assign the
public key to the SSH client.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] public-key peer publick import sshkey pub
[Sysname] ssh user client assign publickey publick
public-key-code begin
Syntax
public-key-code begin
View
Public key view
Parameters
None
Description
Use the
public-key-code begin
command to enter public key edit view.
Using the
public-key peer
command to enter public key view, and use the
public-key-code begin
command to enter the public key edit view. Then you can input the key by pasting the copied characters
or pressing the keys on the keyboard. It must be a hexadecimal string that has been encoded complying
with PKCS. Spaces and carriage returns are allowed between characters.
Related commands:
rsa peer-public-key
,
public-key peer
,
public-key-code end
.
Examples
# Enter public key edit view and input a public key.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] rsa peer-public-key Switch003
RSA public key view: return to System View with "peer-public-key end".
[Sysname-rsa-public-key] public-key-code begin
RSA key code view: return to last view with "public-key-code end".
[Sysname-rsa-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463
[Sysname-rsa-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913
[Sysname-rsa-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...