01-24-2022 02:34 AM - edited 01-24-2022 03:05 AM
The only way I can connect anymore is via console. I thought I had left all the SSH config the same except for changing the passwords to secrets. Please help!
Solved! Go to Solution.
01-24-2022 06:53 AM
Vlan1 192.168.0.11 YES DHCP up up
i see the switch IP address 192.168.0.11 (not 10 here)
try from PC ping 192.168.0.11
01-24-2022 02:54 AM
Firstly, I would sanitize that config and re-upload it. As this contains your passwords and is publicly viewable on the internet....!
The SSH config looks okay. Have you regenerated the RSA keys? I have seen this be an issue in the past.
Are you getting a specific error when you try to connect via SSH? This may be an SSH client error you are getting rather than a problem with the switch.
01-24-2022 03:07 AM
Thanks AvidPontoon. Ooops!
I'll try regenerating the key on one.
I'm getting:
"Network error: Connection Timed Out"
01-24-2022 03:16 AM - edited 01-24-2022 03:16 AM
From the error "Network error: Connection Timed Out", it sounds like a connectivity issue too. See the results of what @balaji.bandi has asked as you may have a problem with connectivity between your management station and the switch.
01-24-2022 03:01 AM
First thing from switch console are you able to ping default-gateway ? 192.168.1.1
Then we can proceed to next step.
If not we need investigate this.
01-24-2022 03:07 AM
balaji.bandi,
Trying this now.
01-24-2022 03:20 AM
I can ping the gateway (192.168.1.1), but I still time out when trying to SSH to the switch after zeroising the key and creating a new one...
01-24-2022 03:27 AM
ping Gateway from Switch ? is working /
From what device and ip address you using to SSH to device ? are you able to ping switch IP address (first ?) 192.168.1.10
If windows device ipconfig /all post output here ?
01-24-2022 03:36 AM
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : tucson.com
Description . . . . . . . . . . . : Intel(R) Ethernet Connection (5) I219-LM
Physical Address. . . . . . . . . : D8-9E-F3-7A-27-81
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c891:71ca:c6ee:2560%21(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.30(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Lease Obtained. . . . . . . . . . : Wednesday, January 19, 2022 10:38:49 AM
Lease Expires . . . . . . . . . . : Monday, January 24, 2022 10:38:51 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.60
DHCPv6 IAID . . . . . . . . . . . : 433626867
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-DC-C6-6B-D8-9E-F3-7A-27-81
DNS Servers . . . . . . . . . . . : 192.168.1.60
192.168.1.61
NetBIOS over Tcpip. . . . . . . . : Enabled
01-24-2022 03:40 AM
BB,
Yes, I can ping the gateway from the switch, but I cannot ping the switch from my PC...
01-24-2022 03:50 AM - edited 01-24-2022 03:53 AM
Where is this PC connected ? from PC are you able to Ping 192.168.1.1 ? ( what is this device 192.168.1.1 ?)
try traceroute from PC or switch to reach each other that give information, where it was stuck (and post the output ?)
PC
tracert 192.168.1.10
from switch
traceroute 192.168.0.30
01-24-2022 03:54 AM
BB,
192.168.1.1 is the gateway router. The PC and switch should both be on VLAN1. I can ping 192.168.1.1 from my PC which won't SSH to the switch.
Thanks
01-24-2022 04:02 AM
i am looking this information :
What Router is this ?
Where is this PC connected ?
PC
tracert 192.168.1.10
from switch
traceroute 192.168.0.30
01-24-2022 04:46 AM
BB,
The router is a SOHO Routerboard router, not a Cisco.
The PC is connected directly to the switch.
I tried a traceroute from the switch to 192.168.0.30, but gave up and cancelled it after 12 hops.
The switch pings 192.168.0.30 immediately with no problems.
01-24-2022 05:13 AM
Looks something not good as per the config ?
Lets do some basic testings here :
change the PC IP address from 192.168.0.30 to 192.168.1.11 (if nothing used, and setup gateway 192.,168.1.10 )
From Pc you should be able to ping 192.168.1.10 - if yes try SSH and let us know.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide