R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
157
To do… Use the command…
Remarks
Enter SFTP client view
sftp [ ipv6 ] 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 } ] *
Required
Execute the
command in user
view.
Display a list of all commands or
the help information of an SFTP
client command
help [ all | command-name ] Required
Terminating the connection to the remote SFTP server
Follow these steps to terminate the connection to the remote SFTP server:
To do… Use the command…
Remarks
Enter SFTP client view
sftp [ ipv6 ] 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 } ] *
Required
Execute the command in user view.
Terminate the connection
to the remote SFTP server
and return to user view
bye
Required.
Use any of the commands.
These three commands function in
the same way.
exit
quit
SFTP client configuration example
Network requirements
As shown in Figure 72, an SSH connection is established between Firewall A and Firewall B. Firewall A,
an SFTP client, logs into Firewall B for file management and file transfer. An SSH user uses publickey
authentication with the public key algorithm being RSA.
Figure 72 Network diagram for SFTP client configuration
Configuration procedure
1. Configure the SFTP server (Firewall B)
# Generate RSA and DSA key pairs and enable the SSH server.