Sftp - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

sftp

Syntax
sftp { host-ip | host-name } [ port-num ] [identity-key { dsa | rsa } | prefer_kex { dh_group1 |
dh_exchange_group } | prefer_ctos_cipher { des | aes128 } | prefer_stoc_cipher { des | aes128 } |
prefer_ctos_hmac { sha1 | sha1_96 | md5 | md5_96 } | prefer_stoc_hmac { sha1 | sha1_96 | md5 |
md5_96 } ] *
View
System view
Parameters
host-ip: IP address of the server.
host-name: Host name of the server, a string of 1 to 20 characters.
port-num: Port number of the server, in the range of 0 to 65535. The default value is 22.
identity-key: The public key algorithm used by the publickey authentication. rsa is the default.
dsa: The public key algorithm is DSA.
rsa: The public key algorithm is RSA.
prefer_kex: Specifies a preferred key exchange algorithm. You can select either of the two algorithms.
dh_group1: Key exchange algorithm diffie-hellman-group1-sha1. It is the default key exchange
algorithm.
dh_exchange_group: Key exchange algorithm diffie-hellman-group-exchange-sha1.
prefer_ctos_cipher: Preferred client-to-server encryption algorithm. The default algorithm is aes128.
prefer_stoc_cipher: Preferred server-to-client encryption algorithm. The default algorithm is aes128.
des: des_cbc encryption algorithm.
aes128: aes_128 encryption algorithm.
prefer_ctos_hmac: Preferred client-to-server HMAC algorithm. The default algorithm is sha1_96.
prefer_stoc_hmac: Preferred server-to-client HMAC algorithm. The default algorithm is sha1_96.
sha1: HMAC algorithm hmac-sha1.
sha1_96: HMAC algorithm hmac-sha1-96.
md5: HMAC algorithm hmac-md5.
md5_96: HMAC algorithm hmac-md5-96.
Description
Use the sftp command to establish a connection with the remote SFTP server and enter SFTP client
view.
If you specify to authenticate a client through public key on the server, the client needs to read the local
private key when logging in to the SFTP server. Since both RSA and DSA are available for public key
authentication, you need to use the identity-key key word to specify the algorithms to get correct local
private key; otherwise you will fail to log in.
Examples
# Connect the SFTP server with the IP address 10.1.1.2. Use the default encryption algorithm.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
1-28

Advertisement

Table of Contents
loading

Table of Contents