R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
167
# Specify the authentication method for user client002 as publickey, and assign the public key
Router001 to the user.
[Router] ssh user client002 service-type stelnet authentication-type publickey assign
publickey Router001
3. Establish a connection between the SSH client and the SSH server
# Establish an SSH connection to the server (10.165.87.136).
<Firewall> ssh2 10.165.87.136
Username: client002
Trying 10.165.87.136 ...
Press CTRL+K to abort
Connected to 10.165.87.136 ...
The Server is not authenticated. Continue? [Y/N]:y
Do you want to save the server public key? [Y/N]:n
Then, you can log in to Router successfully.