08-07-2013 08:33 AM - edited 03-04-2019 08:41 PM
Hello,
I have a cisco 3845 router. I am unable to login thid router. There was no changes made in configuration however when i am trying getting the error,
ssh : connecting to host x.x.x.x port 22:connection refused. i tried re generating the key but no luck. current IOS is Version 15.0(1)M7.
Thanks
Soumya
08-07-2013 08:38 AM
Can you post the config please?
08-07-2013 08:56 AM
Soumya
When I see a post about problems with telnet/SSH access to a router I usually start by thinking about problems with basic IP connectivity. But if you are getting an error that the connection was refused that pretty well establishes that your request got to the router and the response got back to you. So it looks like IP connectivity is not the issue.
I am not quite clear whether telnet/SSH used to work and stopped or that they have not ever worked. Can you clarify this?
There are several reasons why the telnet/SSH might be refused.
- perhaps there is an access class configured on the vty that is not allowing your source address.
- perhaps the vty have been configured with access protocols that do not include telnet/SSH.
- perhaps the vty have been configured with no exec.
- perhaps there is some device, such as a firewall, between your host and the router that is filtering traffic and not allowing telnet/SSH.
Most of these possibilities could be resolved if you would post the config of the router.
HTH
Rick
08-07-2013 09:58 AM
Hello Rick,
Access class is configured in VTY however the source IP is allowed.We have a firewall in between source IP as well as Router but access permitted here as well. This access was working fine and suddenly it started causing this issue.
Soumya
08-07-2013 11:33 AM
Soumya
Thank you for the additional information. It is good to know that access did work and then stopped. It is also good to know that access class is configured on the vty and that it does permit the source address.
I suggest that some testing might help us to figure out what is the problem. I suggest that you run debug ip ssh, attempt ssh access, and post any debug output. If there is debug output then it confirms that the ssh request did get to the router and might indicate the reason why the ssh fails. If there is no debug output then it suggests that the ssh request did not get to the router and that is the direction to look to find the problem.
HTH
Rick
08-07-2013 09:23 AM
Hi Soumya,
Kindly provide the running configuration from the device.
T&R,
Vignesh R P
08-07-2013 11:08 AM
Can tuo post tour config ?
Sent from Cisco Technical Support iPhone App
08-07-2013 11:13 AM
I hope some more people post an answer requesting the config. We don't have enough of those.
08-07-2013 02:41 PM
Please share config to resolve issue.
Also do mention from what source u re trying to access router.
Jawad
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