R2511-HP MSR Router Series Security Configuration Guide(V5)
386
Figure 126 SFTP client interface
Publickey authentication enabled SFTP client configuration
example
Network requirements
As shown in Figure 127, you can log in to Router B through the SFTP client that runs on Router A. Router
B acts as the SFTP server, adopting publickey authentication and the RSA public key algorithm.
Figure 127 Network diagram
Configuration considerations
In the server configuration, the client public key is required. Use the client software to generate an RSA
key pair on the client before configuring the SFTP server.
Configuration procedure
1. Configure the SFTP client:
# Configure an IP address for interface Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 192.168.0.2 255.255.255.0
[RouterA-Ethernet1/1] quit
# Generate the RSA key pairs.
[RouterA] public-key local create rsa










