Ssh User Service-Type - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

[Sysname] display ssh user-information
Username
kk

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
kk
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 |
Authentication-type
publickey
Authentication-type
publickey
1-33
User-public-key-name
null
User-public-key-name
null
Service-type
stelnet
Service-type
sftp

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents