3110交换机 地址:55.180.68.252 ,SSH登录,配置完成后,用ssh2 127.0.0.1 验证成功, 但是从路由器下挂网口ssh2 交换机地址 提示无法链接22端口。
<CQJB-HJYB2.S1>ssh2 127.0.0.1
Username: cqdl-ssh
Trying 127.0.0.1 ...
Press CTRL+K to abort
Connected to 127.0.0.1 ...
The Server is not authenticated. Continue? [Y/N]:y
Do you want to save the server public key? [Y/N]:
Before pressing ENTER you must choose 'YES' or 'NO'[Y/N]:y
Enter password:
#Jun 16 13:24:19:443 2022 CQJB-HJYB2.S1 SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>:cqdl-ssh login from VTY
%Jun 16 13:24:19:600 2022 CQJB-HJYB2.S1 SHELL/5/SHELL_LOGIN: cqdl-ssh logged in from 127.0.0.1.
<CQJB-HJYB2.S1>quit
[CQJB-HJYB1.S1]dis cu
#
version 5.20.99, Release 1110
#
sysname CQJB-HJYB1.S1
#
clock timezone BeiJin add 08:00:00
#
password-control login-attempt 5 exceed lock-time 10
#
undo copyright-info enable
#
domain default enable system
#
ipv6
#
undo ip http enable
#
password-recovery enable
#
acl number 2001
rule 0 permit source 55.0.0.0 0.255.255.255
rule 5 permit source 10.55.0.0 0.0.255.255
rule 1000 deny
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user cqdl-con
password cipher $c$3$Yh0yYl4I75lundp72NoiAwAmU8X3VfLyg/il5g==
authorization-attribute level 3
service-type terminal
local-user cqdl-ssh
password cipher $c$3$uR/bvYgEpY8E39GF2eO2Tn3NHgmVGpn2zYkcxg==
authorization-attribute level 3
service-type ssh
#
interface NULL0
#
interface Vlan-interface1
ip address 55.116.57.124 255.255.255.128
#
interface Ethernet1/0/1
#
interface Ethernet1/0/2
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
shutdown
#
interface Ethernet1/0/5
shutdown
#
interface Ethernet1/0/6
shutdown
#
interface Ethernet1/0/7
shutdown
#
interface Ethernet1/0/8
shutdown
#
interface Ethernet1/0/9
shutdown
#
interface Ethernet1/0/10
shutdown
#
interface Ethernet1/0/11
shutdown
#
interface Ethernet1/0/12
shutdown
#
interface Ethernet1/0/13
shutdown
#
interface Ethernet1/0/14
shutdown
#
interface Ethernet1/0/15
shutdown
#
interface Ethernet1/0/16
shutdown
#
interface Ethernet1/0/17
shutdown
#
interface Ethernet1/0/18
shutdown
#
interface Ethernet1/0/19
shutdown
#
interface Ethernet1/0/20
shutdown
#
interface Ethernet1/0/21
shutdown
#
interface Ethernet1/0/22
shutdown
#
interface Ethernet1/0/23
shutdown
#
interface Ethernet1/0/24
shutdown
#
interface GigabitEthernet1/0/25
shutdown
#
interface GigabitEthernet1/0/26
shutdown
#
ip route-static 10.55.0.0 255.255.0.0 55.116.57.126
ip route-static 55.0.0.0 255.0.0.0 55.116.57.126
#
info-center loghost source Vlan-interface1
info-center loghost 55.254.15.1
undo info-center logfile enable
#
snmp-agent
snmp-agent local-engineid 383030303633413236353133423034343134413142393543
snmp-agent sys-info version v3
snmp-agent group v3 CQEP privacy acl 2001
snmp-agent usm-user v3 cqdl CQEP cipher authentication-mode sha $c$3$EzJ2/EGwHJHjYOWHdhktmlz6IippLEn2iwEP9ikC+14/j05RZiM= privacy-mode des56 $c$3$GELx6uaDdM97hk3uPe0cO9dCGaCa10TrcVPsFXXbTNGufQ== acl 2001
#
ntp-service unicast-server 55.116.57.126
#
ssh server enable
ssh user cqdl-ssh service-type stelnet authentication-type password
#
load xml-configuration
#
load tr069-configuration
#
user-interface aux 0
authentication-mode scheme
idle-timeout 5 0
user-interface vty 0 15
acl 2001 inbound
authentication-mode scheme
idle-timeout 5 0
protocol inbound ssh
#
暂无评论