SSH Configuration Commands 523
ssh user username
authentication-type
Syntax
ssh user
username
authentication-type { all | password | rsa }
undo ssh user
username
authentication-type
View
System view
Parameter
username
: Valid local user name or user name defined by remote RADIUS system.
all: Specifies authentication type as password and RSA.
password: Specifies authentication type as password.
rsa: Specifies authentication type as RSA.
Description
Use the ssh user username authentication-type command to define
authentication type for a designated user.
Use the undo ssh user username authentication-type command to restore
the default mode in which logon fails.
By default, user can’t logon the switch through SSH or TELNET, so you have to
specify authentication type for a new user. The new configuration takes effects at
the next logon.
Related commands: display ssh user-information.
Example
To specify jsmith’s authentication type as password, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]ssh user jsmith authentication-type password