cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
474
Views
0
Helpful
3
Replies

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 3

Hi ,

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

Dan

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card