Ssh Authentication-Type Default; Ssh User Authentication-Type - 3Com 8807 Command Reference Manual

8800 series
Hide thumbs Also See for 8807:
Table of Contents

Advertisement

SSH Server Configuration Commands
955
Example
# Assign public key1 for user zhangsan.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] ssh user zhangsan assign rsa-key key1
ssh user
Syntax
authentication-type
ssh user username authentication-type { password | rsa |
password-publickey | all }
undo ssh user username authentication-type
View
System view
Parameter
password: Forces the user's authentication mode to password authentication.
rsa: Forces the user's authentication mode to RSA public key authentication.
password-publickey: Forces the user's authentication mode to password
authentication plus RSA public key authentication.
all: Specifies that the user's authentication mode can be either password
authentication or public authentication.
Description
Use the ssh user authentication-type command to specify an authentication
mode for a user.
Use the undo ssh user authentication-type command to restore the user
authentication mode to NULL, namely, the unable-to-login mode.
The new authentication mode takes effect at the next login.
By default, no login authentication mode is specified, that is, SSH users are unable
to login.
For a new user, you must specify an authentication mode; otherwise, the new user
will not be able to log in.
Related command: display ssh user-information.
Example
# Specify the authentication mode of user zhangsan to password authentication.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] ssh user zhangsan authentication-type password
ssh authentication-type
Syntax
default
ssh authentication-type default { password | rsa | all | password-publickey }

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

88148810

Table of Contents