R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
172
Terminating the connection to the remote SFTP server
To terminate the connection to the remote SFTP server:
Ste
p
Command
Remarks
1. Enter SFTP client view.
For more information, see
"Establishing a connection to the
SFTP server."
Execute the command in user
view.
2. Terminate the connection to
the remote SFTP server and
return to user view.
• bye
• exit
• quit
Use any of the commands.
These three commands function in
the same way.
SFTP client configuration example
Network requirements
As shown in Figure 82, an SSH connection is required between Firewall and Router. Firewall, an SFTP
client, needs to log in to Router for file management and file transfer. Use publickey authentication and
the RSA public key algorithm.
Figure 82 Network diagram
Configuration procedure
NOTE:
During SFTP server configuration, the client public key is required. Use the client software to generate RS
A
key pairs on the client before configuring the SFTP server.
1. Configure the SFTP client.
# Configure an IP address for interface GigabitEthernet 0/1.
<Firewall> system-view
[Firewall] interface gigabitethernet 0/1
[Firewall-GigabitEthernet0/1] ip address 192.168.0.2 255.255.255.0
[Firewall-GigabitEthernet0/1] quit
# Generate the RSA key pairs.
[Firewall] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++