Home > other >  H3C switches SSH login failure
H3C switches SSH login failure

Time:11-30

H3C cloud lab
SW1 at the same time open Telnet and SSH, is now in use Telnet can normal login SW1 SW2, when using SSH login prompt Unknown host or wrong IP address, small white one, hope heavyweight directions,

SW1 main configuration is as follows:
The System View: return to the User View with Ctrl + z.
[SW1] dis current - config
#
Version 7.1.059, Alpha 7159
#
Sysname SW1
#
Telnet server enable
#
The irf MAC - address persistent timer
Irf auto - update the enable
Undo irf link - delay
Irf member 1 priority 1
#
LLDP global enable
#
System - working - mode standard
Xbar load - single
Password recovery - enable
Lpu -type f - series
#
Vlan 1
The description jifang
#
Vlan 2
The description dongyuan
#
Vlan 3
The description xiyuan
#
STP global enable
#
Interface NULL0
#
Interface Vlan - interface1
The description jifang
IP address 10.176.8.1 255.255.255.0
#
Interface Vlan - interface2
The description dongyuan
IP address 10.176.20.1 255.255.255.0
#
Interface Vlan - interface3
The description xiyuan
IP address 10.176.10.1 255.255.255.0
#

#
Interface GigabitEthernet1/0/1
The port link - mode bridge,
Combo enable fiber
#
Interface GigabitEthernet1/.two survivors
The port link - mode bridge,
The description dongyuan
The port access vlan 2
Combo enable fiber
#
Interface GigabitEthernet1/0/3
The port link - mode bridge,
The description xiyuan
The port access vlan 3
Combo enable fiber
#

The scheduler logfile size 16
#
The line class aux
The user role - network - admin
#
The line class tty
User - role network - operator
#
The line class vty
User - role network - operator
#
The line aux 0
The user role - network - admin
#
Line 4 vty 0
The authentication mode scheme -
The user role - network - admin
Set authentication password hash $h $6 $P93UbdqAu67 + 4 fbu $gC2dLt01SIvdMeEwpj/GSXyQRqS2tNLeZVjapnRujQGF7718VA9AvXBflFJOSIaz/u1MG1bS3kemMChrN5W + HA==
#
Line 5 63 vty
User - role network - operator
#
IP route -static 0.0.0.0 0 10.176.8.2
#
SSH server enable
SSH user admin service -type all authentication -type password
#
The radius scheme system
User name - the format without - domain
#
Domain system
#
Domain default enable system
#

#
User - group system
#
Local - user admin class manage
Password hash $h $$IMxAfDapoYUses6i $85 okln46 SayBKSPGvt7HhYLCUQeJUAyOt4cbTZcdTTCmtIArUw0WtrlvuFxOLjWuhCsjYhK4/6 + X4ZZp6j8m5mA==
Service - type SSH Telnet
Authorization - the attribute user role - level - 15
#
Local - user amin class manage
Service - type SSH Telnet
Authorization - the attribute user role - level - 15

SW2 configuration is as follows:

[SW2] dis current - config
#
Version 7.1.059, Alpha 7159
#
Sysname SW2
#
Telnet server enable
#
The irf MAC - address persistent timer
Irf auto - update the enable
Undo irf link - delay
Irf member 1 priority 1
#
LLDP global enable
#
System - working - mode standard
Xbar load - single
Password recovery - enable
Lpu -type f - series
#
Vlan 1
The description jifang2
#
Vlan 2
The description dongyuan2
#
Vlan 3
The description xiyuan2
#
STP global enable
#
Interface NULL0
#
Interface Vlan - interface1
The description jifang2
IP address 10.176.8.2 255.255.255.0
#
Interface Vlan - interface2
The description dongyuan2
IP address 10.176.20.2 255.255.255.0
#
Interface Vlan - interface3
The description xiyuan2
IP address 10.176.10.2 255.255.255.0
#
Interface GigabitEthernet1/0/1
The port link - mode bridge,
The description jifang2
Combo enable fiber
#
Interface GigabitEthernet1/.two survivors
The port link - mode bridge,
The description dongyuan2
The port access vlan 2
Combo enable fiber
#
Interface GigabitEthernet1/0/3
The port link - mode bridge,
The description xiyuan2
The port access vlan 3
Combo enable fiber
#
The scheduler logfile size 16
#
The line class aux
The user role - network - admin
#
The line class tty
User - role network - operator
#
The line class vty
User - role network - operator
#
The line aux 0
The user role - network - admin
#
Line 4 vty 0
The authentication mode scheme -
The user role - level - 15
Protocol the inbound SSH
#
Line 5 63 vty
User - role network - operator
#
IP route -static 0.0.0.0 0 10.176.8.1
#
SSH server enable
SSH user admin2 service -type all authentication -type password
#
The radius scheme system
User name - the format without - domain
#
Domain system
#
Domain default enable system
#

User - group system
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related