245
ssh user
Syntax
In non-FIPS mode:
ssh user username service-type stelnet authentication-type { password | { any | password-publickey |
publickey } assign publickey keyname }
ssh user username service-type { all | scp | sftp } authentication-type { password | { any |
password-publickey | publickey } assign publickey keyname work-directory directory-name }
undo ssh user username
In FIPS mode:
ssh user username service-type stelnet authentication-type { password | assword-publickey assign
publickey keyname }
ssh user username service-type { all | scp | sftp } authentication-type { password | password-publickey
assign publickey keyname work-directory directory-name }
undo ssh user username
View
System view
Default level
3: Manage level
Parameters
username: SSH username, a case-sensitive string of 1 to 80 characters.
service-type: Specifies the service type of an SSH user, which can be one of the following values:
• all: Specifies Stelnet, SFTP, and SCP.
• scp: Specifies the service type as secure copy.
• sftp: Specifies the service type as secure FTP.
• stelnet: Specifies the service type of secure Telnet.
authentication-type: Specifies the authentication method of an SSH user, which can be one the following
values:
• password: Performs password authentication.
• any: Performs either password authentication or publickey authentication.
• password-publickey: Specifies that SSH2 clients perform both password authentication and
publickey authentication and that SSH1 clients perform either type of authentication.
• publickey: Performs publickey authentication.
assign publickey keyname: Assigns an existing public key to an SSH user. keyname indicates the name
of the client public key and is a string of 1 to 64 characters.
work-directory directory-name: Specifies the working directory for an SFTP or SCP user. directory-name
indicates the name of the working directory and is a string of 1 to 135 characters.
Description
Use the ssh user command to create an SSH user and specify the service type and authentication
method.