![H3C S3100 Series Скачать руководство пользователя страница 795](http://html1.mh-extra.com/html/h3c/s3100-series/s3100-series_command-manual_3591810795.webp)
Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Commands
1-27
Description
Use the
ssh authentication-type default
command to specify a default authentication
mode for SSH users. After this command is configured, when an SSH user is added by
using the
ssh user
command, the default authentication mode is adopted for the user if
no authentication mode is specified by using the
ssh user authentication-type
command.
Use the
undo ssh authentication-type default
command to remove the specified
default authentication mode. That is, no default authentication mode is specified for
SSH users. In this case, when an SSH user is added, you must specify an
authentication mode for the user at the same time.
By default, no default authentication mode is specified.
Related commands:
display ssh user-information
.
Examples
# Specify the publickey authentication as the default authentication mode.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname]ssh authentication-type default publickey
# Create an SSH user
[Sysname] ssh user user1
# Display information about SSH users.
[Sysname] display ssh user-information
Username Authentication-type User-public-key-name Service-type
user1 publickey null stelnet
1.1.23 ssh client assign
Syntax
ssh client
{
server-ip
|
server-name
}
assign
{
publickey
|
rsa-key
}
keyname
undo ssh client
{
server-ip
|
server-name
}
assign
{
publickey
|
rsa-key
}
View
System view
Parameters
server-ip
: IP address of the server.
server-name
: Name of the server, a string of 1 to 184 characters.
keyname
: Name of the public key of the server, a string of 1 to 64 characters.