04-25-2018 11:55 AM - last edited on 03-25-2019 03:51 PM by ciscomoderator
I was SSH'd into a router & changed the the modulos size using the "crypto key generate rsa" command. After that when I try SSH with Putty I get a "connection refused" error & cant log in anymore. Any ideas?
04-25-2018 12:04 PM
04-25-2018 12:06 PM
I assume there is no way to do this remotely?
04-25-2018 12:15 PM
You can actually fix that remotely if you have your community read/write configured and have a software that can push the config change to the router. In my case, I use the solarwinds admin toolset. I fixed a lot of my SSH issues with it.
04-25-2018 12:31 PM
I have read only. I think I'm screwed here & need to console in to fix this.
04-25-2018 12:42 PM
Is your remote access on the vty restricted to only SSH, or is telnet also permitted??
HTH
Rick
04-25-2018 01:30 PM
Good question. Only SSH is enabled. I should have enabled telnet temporarily when I was reconfiguring.
04-25-2018 02:25 PM
If your SNMP is read only and if only SSH is permitted on vty then it looks like your only alternative is the console port.
HTH
Rick
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