Ssh User - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SSH
H3C S7500E Series Ethernet Switches
[Sysname] ssh server rekey-interval 3

1.1.31 ssh user

Syntax
ssh user username service-type stelnet authentication-type { password | { any |
password-publickey | publickey } assign publickey keyname }
ssh user username service-type { all | sftp } authentication-type { password | { any
| password-publickey | publickey } assign publickey keyname work-directory
directory-name }
undo ssh user username
View
System view
Parameters
username: SSH username, a string of 1 to 80 characters.
service-type: Specifies the service type of an SSH user, which can be one of the
following:
all: Specifies both secure Telnet and secure FTP.
sftp: Specifies the service type as secure FTP.
stelnet: Specifies the service type of secure Telnet.
authentication-type: Specifies the authentication method of an SSH user, which can
be one the following:
password: Performs password authentication.
any: Performs either password authentication or publickey authentication. The
server performs publickey authentication first.
password-publickey: Performs both password authentication and publickey
authentication. A client running SSH1 client only needs to pass either type of
authentication while a client running SSH2 client must pass both types of
authentication to log in.
publickey: Performs publickey authentication.
assign publickey keyname: Assigns an existing public key for an SSH user. keyname
indicates the name of the client public key and is a string of 1 to 64 characters.
work-directory directory-name: Specifies the working folder for an SFTP user.
directory-name indicates the name of the working folder and is a string of 1 to 135
characters.
Chapter 1 SSH Configuration Commands
1-25

Advertisement

Table of Contents
loading

Table of Contents