Solved

"connection refused" errors on routers.

Posted on 2014-11-26
5
100 Views
Last Modified: 2015-01-06
Hello all,

I have several routers and a firewall that get the "connection refused" error, after some time. I am the only one logging in to the equipment, no one else so there is no unsuccessful logins. There is no ACLs on the vty lines. (ex. below) what could be causing this? Any advice?

no service pad                  
service tcp-keepalives-in                  
service tcp-keepalives-out                  
service timestamps debug datetime msec                  
service timestamps log datetime msec                  
service password-encryption                  
no service password-recovery                  

line con 0                  
 session-timeout 1                  
 exec-timeout 1 0                  
 password 7 05290D01734D0406                  
 no exec                  
 transport output telnet                  
line aux 0                  
 password 7 10655B000E181F                  
 no exec                  
 transport output telnet                  
line vty 0 4                  
 session-timeout 1                  
 exec-timeout 1 0                  
 password 7 13271C1C590D4E25                  
 transport input ssh
0
Comment
Question by:Shark Attack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 26

Expert Comment

by:Soulja
ID: 40467561
Are you sure you are not making some of those attempts with telnet by accident, since you are only allowing ssh.
0
 
LVL 3

Author Comment

by:Shark Attack
ID: 40467652
nope. Pretty sure. I rebooted a router and firewall not too long ago, hour later, i tried first attempt to login via ssh and nothing. Connection refused error
0
 
LVL 2

Accepted Solution

by:
psychokraft earned 500 total points
ID: 40467779
I have found it a common occurrence on ASR routers that a reboot will cause the device to lose the crypto key. Had it happen yesterday in fact. After the reboot if SSH is refused,  console in and issue crypto key generate rsa. That may be your issue. Make sure the key modulus is at least 768, preferably at least 1024.
0
 
LVL 3

Author Comment

by:Shark Attack
ID: 40467786
I will be at the site Monday. I will give it a try and keep you posted.
0
 
LVL 3

Author Comment

by:Shark Attack
ID: 40476161
could this also be caused by me just clicking the X in upper right instead of exiting with the EXIT command each time?
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question