Sftp - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SSH
H3C S7500E Series Ethernet Switches
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.
Examples
# 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

1.1.16 sftp

Syntax
sftp server [ port-number ] [ prefer-ctos-cipher { 3des | aes128 | des } |
prefer-ctos-hmac
{ 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
Parameters
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.
prefer-ctos-cipher: Preferred encryption algorithm from client to server, defaulted to
aes128.
3des: Encryption algorithm 3des-cbc.
aes128: Encryption algorithm aes128-cbc.
des: Encryption algorithm des-cbc.
prefer-ctos-hmac: Preferred HMAC algorithm from client to server, defaulted to sha1.
md5: HMAC algorithm hmac-md5.
md5-96: HMAC algorithm hmac-md5-96.
sha1: HMAC algorithm hmac-sha1.
sha1-96: HMAC algorithm hmac-sha1-96.
prefer-kex: Preferred key exchange algorithm, defaulted to dh-group-exchange.
{
md5
|
md5-96
1-14
Chapter 1 SSH Configuration Commands
|
sha1
|
sha1-96
}
|
prefer-kex

Advertisement

Table of Contents
loading

Table of Contents