Solved

"connection refused" errors on routers.

Posted on 2014-11-26
5
88 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
Comment Utility
Are you sure you are not making some of those attempts with telnet by accident, since you are only allowing ssh.
0
 
LVL 1

Author Comment

by:Shark Attack
Comment Utility
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
Comment Utility
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 1

Author Comment

by:Shark Attack
Comment Utility
I will be at the site Monday. I will give it a try and keep you posted.
0
 
LVL 1

Author Comment

by:Shark Attack
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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.
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now