Configuring An Ssh User - HP 5120 SI Series Security Configuration Manual

Hide thumbs Also See for 5120 SI Series:
Table of Contents

Advertisement

Importing a client public key from a public key file
Follow these steps to import a public key from a public key file:
To do...
Enter system view
Import the public key from a public
key file
NOTE:
For more information about client side public key configuration and the relevant commands, see the
Security Configuration Guide

Configuring an SSH user

This configuration allows you to create an SSH user and specify the service type and authentication
method. An SSH user's service type can be Secure Telnet (Stelnet), Secure FTP (SFTP), or Secure copy
(SCP). For more information about Stelnet, see
the chapter "SFTP configuration." For more information about SCP, the chapter "SCP configuration."
To use publickey authentication, you must configure the user account and the user's public key on the SSH
server. To use password authentication, you can configure the user account on either the device or the
remote authentication server, such as a RADIUS authentication server.
Follow these steps to configure an SSH user and specify the service type and authentication mode:
To do...
Enter system view
Create an SSH user,
and specify the
service type and
authentication mode
Use the command...
system-view
public-key peer keyname import
sshkey filename
.
"SSH2.0
Use the command...
system-view
For Stelnet users in non-FIPS mode:
ssh user username service-type stelnet
authentication-type { password | { any |
password-publickey | publickey } assign
publickey keyname }
For Stelnet users in FIPS mode:
ssh user username service-type stelnet
authentication-type { password |
password-publickey assign publickey
keyname }
For all users, SCP, or SFTP users in non-FIPS
mode:
ssh user username service-type { all | scp |
sftp } authentication-type { password |
{ any | password-publickey | publickey }
assign publickey keyname work-directory
directory-name }
For all users, SCP, or SFTP users in FIPS
mode:
ssh user username service-type { all | scp |
sftp } authentication-type { password |
password-publickey assign publickey
keyname work-directory directory-name }
248
Remarks
Required
overview." For more information about SFTP, see
Remarks
Required
Use either command.

Advertisement

Table of Contents
loading

Table of Contents