Ssh User Assign - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Related
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
# Display SSH user information.
[Sysname] display ssh user-information
Username
abc

1.1.30 ssh user assign

Syntax
ssh user username assign { publickey | rsa-key } keyname
undo ssh user username assign { publickey | rsa-key }
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.
keyname: Name of a public key, a string of 1 to 64 characters.
Description
Use the ssh user assign command to assign an existing public key to a specified SSH
user.
Use the undo ssh user assign command to remove the association.
The public key of the client is subject to the one assigned last time.
The new public key takes effect when the user logs in next time.
commands:
ssh
Authentication-type
password
authentication-type
User-public-key-name
null
1-34
Chapter 1 SSH Commands
default,
ssh
user
Service-type
stelnet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents