3-49
To do…
Use the command…
Remarks
Create a local user and enter local
user view
local-user user-name
Required
By default, no local user exists.
Set the local password
password
{
cipher
|
simple
}
password
Required
By default, no local password is
set.
Specifies the command level of the
local user
authorization-attribute level level
Optional
By default, the command level is 0.
Specify the service type for the
local user
service-type
ssh
Required
By default, no service type is
specified.
Return to system view
quit
—
Create an SSH user, and specify
the authentication mode for the
SSH user
ssh user
username
service-type
stelnet authentication-type
{
password
| {
any
|
password-publickey
|
publickey
}
assign
publickey
keyname
}
Required
By default, no SSH user exists, and
no authentication mode is
specified.
Configure common settings for
VTY user interfaces
—
Optional
for VTY User Interfaces (Optional)
For more information about SSH, see
SSH2.0
in the
Security Configuration Guide
.
Configuring the SSH Client to Log In to the SSH Server
Configuration prerequisites
You have logged in to the device.
By default, you can log in to the device through the console port without authentication and have user
privilege level 3 after login. For how to log in to the device with default configuration, see
.
Figure 3-15
Log in to another device from the current device
If the telnet client and the telnet server are not in the same subnet, make sure that the two devices can
reach each other.