cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1607
Views
0
Helpful
4
Replies

Cisco router 1941 - getting error while taking ssh of the device "network error connection timed out"

Pear11
Level 1
Level 1

Hi,

I am getting the error while taking ssh of the router 1941. And i can able to access all other cisco switches routers thru ssh. But only 1941 router, i am facing the issue in daily 4-5 time. after 5-6 hrs it automatically comes up. 

changed the cable. Checked the CPU utilization is normal - 5%.

Configured active standby mode and this router is in standby mode. there is less cpu utilization. 

 

Please advice

 

 

4 Replies 4

Hello


@Pear11 wrote:

Hi,

 But only 1941 router, i am facing the issue in daily 4-5 time. after 5-6 hrs it automatically comes up. 


Not so sure what you are saying, is it that your putty session times out after 5/6 hours or that a ssh session terminates

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

only SSH connection says "Network error : connection timed out .." The issue occurs at every day and after some time automatically SSH works fine. There is no specific time. It occurs randomly, no fixed time.

T Steps,
Reconfigured the SSH connection with 1024 key.
Verified the ACL rules.

SSH Config ;

ip access-list standard TELNET-ACCESS
permit 172.17.102.0 0.0.0.255
permit 172.17.103.0 0.0.0.255 --------> This Subnet,i couldn't access the SSH some times.
permit 172.21.102.0 0.0.0.255
permit 172.21.103.0 0.0.0.255
!
line con 0
line aux 0
no exec
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
access-class TELNET-ACCESS in
password 7 <removed>
transport input ssh
line vty 5 15
transport input ssh
!

Hello,

 

post the output of:

 

sh crypto key mypubkey rsa

sh run | inc ssh

 

from both the 1941 router that has the problem, as well as from a device that is working.

Pear11
Level 1
Level 1

only SSH connection says "Network error : connection timed out .." The issue occurs at every day and after some time automatically SSH works fine. There is no specific time. It occurs randomly, no fixed time.

T Steps,
Reconfigured the SSH connection with 1024 key.
Verified the ACL rules.

SSH Config ;

ip access-list standard TELNET-ACCESS
permit 172.17.102.0 0.0.0.255
permit 172.17.103.0 0.0.0.255 --------> This Subnet,i couldn't access the SSH some times.
permit 172.21.102.0 0.0.0.255
permit 172.21.103.0 0.0.0.255
!
line con 0
line aux 0
no exec
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
access-class TELNET-ACCESS in
password 7 <removed>
transport input ssh
line vty 5 15
transport input ssh
!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco