Ssh User - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

ssh user

Syntax
ssh user username
undo ssh user username
View
System view
Parameters
username: SSH user name, a string of 1 to 184 characters. It cannot contain any of these characters:
slash (/), backslash (\), colon (:), asterisk (*), question mark (?), less than sign (<), greater than sign (>),
and the vertical bar sign (|). In addition, the @ sign can appear up to once, the username part (that is,
the string before the @ sign) cannot be more than 55 characters, and the domain name part cannot be
more than 128 characters.
Description
Use the ssh user command to create an SSH user.
Use the undo ssh user to delete a specified SSH user.
An SSH user created with this command uses the default authentication type specified by the ssh
authentication-type default command. If no default authentication type is specified for SSH users, you
need to use the ssh user authentication-type command to create an SSH user and specify an
authentication mode for the user.
An SSH user is created on an SSH server for the purpose of specifying the authentication type, the SSH
service type, and the public key for the SSH user. An existing SSH user will be removed automatically if
it has none of the authentication type, the SSH service type, and the public key configured.
Related commands: ssh authentication-type default, ssh user authentication-type.
Examples
# Specify the default authentication type as password authentication. Create an SSH user with the
name "abc".
<Sysname> system-view
Enter system view, return to user view with Ctrl+Z.
[Sysname] ssh authentication-type default password
[Sysname] ssh user abc
1-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents