Solved

"connection refused" errors on routers.

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

691 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