
1-33
[Sysname] display ssh user-information
Username Authentication-type User-public-key-name Service-type
kk publickey null stelnet
ssh user service-type
Syntax
ssh user
username
service-type
{
stelnet
|
sftp
|
all
}
undo ssh user
username
service-type
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.
stelnet
: Specifies that the user can access the secure Telnet service.
sftp
: Specifies that the user can access the SFTP service.
all
: Specifies that the user can access both services (secure Telnet and SFTP).
Description
Use the
ssh user service-type
command to configure service type for a user so that the user can
access specified service(s).
Use the
undo ssh user service-type
command to remove the service type specified for an SSH user.
The default service type for an SSH user is
stelnet
.
Related commands:
display ssh user-information
.
Examples
# Specify that user kk can access SFTP service.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh user kk service-type sftp
# Display SSH user information.
[Sysname] display ssh user-information
Username Authentication-type User-public-key-name Service-type
kk publickey null sftp
ssh2
Syntax
ssh2
{
host-ip
|
host-name
} [
port-num
] [
identity-key
{
dsa
|
rsa
} |
prefer_kex
{
dh_group1
|
dh_exchange_group
} |
prefer_ctos_cipher
{
3des
|
des
|
aes128
} |
prefer_stoc_cipher
{
3des
|
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...