Configuring An Ssh User - HP A5830 Series Configuration Manual

Security switch
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

To do...
6.
Return to system view.
Importing a client public key from a public key file
To do...
1.
Enter system view.
2.
Import the public key from a
public key file.
For more information about client public key configuration, see

Configuring an SSH user

For an SSH user to pass publickey authentication to log in, you must create SSH user accounts and
specify the server type, authentication method, and client public keys on the switch.
For an SSH user to pass password authentication to log in, you do not need to complete this
configuration task on the local switch. Instead, you must create an SSH user account on a remote
authentication server (for example, a RADIUS authentication server) for remote authentication, or a local
user on the switch for local authentication. If you do create an SSH user account by completing this
configuration task, be sure to configure the correct service type and authentication method. For
information about how to configure local authentication and remote authentication, see
AAA."
This configuration task allows you to create an SSH user and specify the service type and authentication
method.
An SSH user's service type can be Stelnet or SFTP. For more information about Stelnet, see
SSH2.0." For more information about SFTP, see
Authentication methods include publickey authentication, password authentication, password-publickey
authentication (requiring both password and publickey authentication), and any authentication (requiring
either password or publickey authentication).
To configure an SSH user and specify the service type and authentication method:
To do...
1.
Enter system view.
2.
Create an
SSH user,
and specify
the service
type and
authentication
method.
Use the command...
peer-public-key end
Use the command...
system-view
public-key peer keyname import
sshkey filename
Use the command...
system-view
ssh user username service-type
stelnet authentication-type {
For Stelnet
password | { any | password-
users
publickey | publickey } assign
publickey keyname }
ssh user username service-type {
all | sftp } authentication-type {
For all users
password | { any | password-
or SFTP users
publickey | publickey } assign
publickey keyname work-
directory directory-name }
Remarks
Remarks
Required
"Configuring public
"Configuring
SFTP."
173
key."
Remarks
Required.
Use either command.
"Configuring
"Configuring

Advertisement

Table of Contents
loading

Table of Contents