Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Can not connect to router

Hello,

I am currently running into this problem when i try to connect to some new devices that were just installed.

xxx-xxx-xx#ssh -l (userid):139 xxx-xxx-xx

Password:

[Connection to xxx-xxx-xx closed by foreign host]

The device im connecting from is a 3745 router.

When i check the line interface everything looks in order

line 80 160

session-timeout 1440  output

login authentication admin-vty

terminal-type ANSI

no exec

transport preferred none

transport input telnet ssh

transport output all

stopbits 1

This problem persists even when ports are swapped, you are able to log 1 time into the device but after you leave it constantly gives you this error.

3 REPLIES

Can not connect to router

Hi ,

I belive that your issue here is "no exec" on the line . Remove this and retry.

Dan

Re: Can not connect to router

I thought the no exec-timeout option just set it not to timeout the vty lines?

Message was edited by: Jimmy Sands Looks like  Dans, reply was correct, here is an explanation: https://supportforums.cisco.com/thread/144449

New Member

Can not connect to router

Thanks here is my VTY

line vty 0 4

exec-timeout 9 59

accounting commands 1 acct-cmd1

accounting commands 15 acct-cmd15

accounting exec acct-exec

login authentication admin-vty

transport input ssh

transport output all

288
Views
0
Helpful
3
Replies