3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2195
<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
Parameter 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
client tries 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. The
key name is a string of 1 to 64 characters.
work-directory directory-name: Specifies a work folder for an SFTP user. The
folder name is a string of 1 to 135 characters.
Description Use the
ssh user command to create an SSH user and specify the service type and
authentication method.
Use the
undo ssh user assign rsa-key command to delete the SSH user.
Use the
undo ssh user username command to delete a user.
Note that: