Solved

"connection refused" errors on routers.

Posted on 2014-11-26
5
99 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
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

839 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