"connection refused" errors on routers.

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
Shark AttackNetwork adminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Are you sure you are not making some of those attempts with telnet by accident, since you are only allowing ssh.
Shark AttackNetwork adminAuthor Commented:
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
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shark AttackNetwork adminAuthor Commented:
I will be at the site Monday. I will give it a try and keep you posted.
Shark AttackNetwork adminAuthor Commented:
could this also be caused by me just clicking the X in upper right instead of exiting with the EXIT command each time?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.