This section provides an example for configuring the administrator PC as the STelnet client and FW as the STelnet server, and how to use STelnet to log in to the VTY administrator interface of the FW after password authentication.
Figure 1 shows that the FW has an administrator. The administrator wants to use STelnet to log in to the VTY administrator interface of the FW after password authentication and manage and maintain the FW.
Item |
Data |
|
|---|---|---|
FW |
SSH account |
sshadmin |
Authentication mode |
Password |
|
Password |
Mydevice@123 |
|
Service type |
STelnet |
|
Administrator PC |
SSH client software: PuTTY software (Windows XP operating system). The PuTTY software includes the PuTTY client for the STelnet service and the SFTP client PSFTP. |
|
The prerequisite is that IP addresses of the interface and administrator PC, security zone, route, and security policies have been configured. The following example introduces content related only to the administrator.
#
interface GigabitEthernet0/0/3
ip address 10.3.0.1 255.255.255.0
service-manage enable
service-manage ssh permit
#
user-interface vty 0 4
authentication-mode aaa
user privilege level 3
protocol inbound ssh
#
manager-user sshadmin
password cipher %@%@fPXYG8r|>17U(MYaBLw0OE<3BRR/*~[B0>uW"^/){U_>wKB=%@%@
service-type ssh
level 15
bind manager-user sshadmin role system-admin
#
stelnet server enable
ssh user sshadmin
ssh user sshadmin authentication-type password
ssh user sshadmin service-type stelnet
ssh server port 22
ssh server timeout 80
ssh server authentication-retries 4
ssh server rekey-interval 1
ssh server compatible-ssh1x enable
#
return