Figure 1 shows that the FW has a local administrator. The local administrator has some administrator permissions and can use STelnet to log in to the CLI only from a local PC for FW management and maintenance. RADIUS server authentication takes precedence over local authentication. The FW implements local authentication on administrators only when the RADIUS server does not respond.
Item |
Data |
|
|---|---|---|
FW |
SSH account |
sshadmin |
Authentication mode |
Password |
|
Password |
Mydevice@123 |
|
Service type |
STelnet |
|
Administrator PC |
SSH client software: PuTTY software. 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/2 ip address 172.16.0.1 255.255.255.0 # 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 # radius-server template radius_server radius-server authentication 172.16.0.2 1812 radius-server shared-key cipher %@%@*y:3*ZN}.%%qcL1cCyDwlB.|@XBVMDWq'6JF(iOz2D8>A\SN%@%@ # aaa authentication-scheme radius authentication-mode radius local # manager-user sshadmin password cipher %@%@fPXYG8r|>17U(MYaBLw0OE<3BRR/*~[B0>uW"^/){U_>wKB=%@%@ service-type ssh authentication-scheme radius radius-server radius_server 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 # firewall zone trust set priority 85 add interface GigabitEthernet0/0/3 # firewall zone dmz set priority 50 add interface GigabitEthernet0/0/2 # security-policy rule name rule1 source-zone local destination-zone dmz destination-address 172.16.0.2 32 action permit # return