Configuring An Ssh User - HP 6600 Security Configuration Manual

Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enter public key view.
3.
Enter public key code view.
4.
Configure a client's host
public key.
5.
Return to public key view and
save the configured host
public key.
6.
Return to system view.
Importing a client public key from a public key file
Step
1.
Enter system view.
2.
Import the public key from a
public key file.

Configuring an SSH user

To configure an SSH user that uses publickey authentication, you must perform the procedure in this
section.
To configure an SSH user that uses password authentication, whether together with publickey
authentication or not, you must configure a local user account by using the local-user command for local
authentication, or configure an SSH user account on an authentication server, for example, a RADIUS
server, for remote authentication. For more information about the local-user command, see Security
Command Reference.
For password-only SSH users, you do not need to perform the procedure in this section to configure them
unless you want to use the display ssh user-information command to display all SSH users, including the
password-only SSH users, for centralized management.
Configuration guidelines
You can set the service type to Stelnet, SFTP, or SCP.
You can enable one of the following authentication modes for the SSH user:
Password—The user must pass password authentication.
Publickey authentication—The user must pass publickey authentication.
Password-publickey authentication—As an SSH2.0 user, the user must pass both password and
publickey authentication. As an SSH1 user, the user must pass either password or publickey
authentication.
Any—The user can use either password authentication or publickey authentication.
All authentication methods, except password authentication, require a client's host public key or
digital certificate to be specified.
Command
system-view
public-key peer keyname
public-key-code begin
Enter the content of the host public
key
public-key-code end
peer-public-key end
Command
system-view
public-key peer keyname import sshkey filename
319
Remarks
N/A
N/A
N/A
Spaces and carriage returns are
allowed between characters.
When you exit public key code
view, the system automatically
saves the public key.
N/A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents