3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
2185
public-key peer import sshkey
Syntax
public-key peer keyname import sshkey filename
undo public-key peer keyname
View
System view
Parameter
keyname: Public key name, a string of 1 to 64 characters.
filename: Public key file name. The value range varies by device models.
Description
Use the public-key peer import sshkey command to import a peer public key 
from the public key file.
Use the undo public-key peer import sshkey command to remove the 
setting.
After execution of this command, the system automatically transforms the public 
key file in SSH1, SSH2 or OpenSSH format to PKCS format, and imports the peer 
public key. This requires that you get a copy of the public key file from the peer 
through FTP/TFTP.
Example
# Import a peer public key named key2 from public key file key.pub.
<Sysname> system-view
[Sysname] public-key peer key2 import sshkey key.pub 
sftp
Syntax
sftp server [ port-number ] [ identity-key { dsa | rsa } | prefer-ctos-cipher { 3des | 
aes128 | des } | prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-96 } | prefer-kex 
dh-group-exchange | dh-group1 | dh-group14 } | prefer-stoc-cipher { 3des | 
aes128 | des } | prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ]  *
View
User view
Parameter
server: IPv4 address or name of the server, a string of 1 to 20 characters.
port-number: Port number of the server, in the range 0 to 65535. The default is 
22.
identity-key: Specifies the algorithm for publickey authentication, either dsa or 
rsa. The default is dsa.
prefer-ctos-cipher: Preferred encryption algorithm from client to server, defaulted 
to aes128.
3des: Encryption algorithm 3des-cbc.
aes128: Encryption algorithm aes128-cbc.