This command is only available to SSH users using SSH1 client software.
Examples
# Set the RSA server key pair update interval to 3 hours.
<Sysname> system-view
[Sysname] ssh server rekey-interval 3
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
Default Level
2: System level
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 mode of an SSH user, which can be one the
following:
password: Performs password authentication.
any: Performs either password authentication or publickey authentication.
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.0 client must pass both types of authentication to log in.
publickey: Performs publickey authentication.
assign publickey keyname: Assigns an existing public key to 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.
1-24
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers