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

unable to login on vty line

I have a Cisco 2851 router

I have SSH 2.0 enabled

I can login to the router via SSH

Here is the problem:

I only use SSH on the VTY lines.................but I just can't get it to login

Here is mu partial config:

line vty 0 4
 exec-timeout 0 0
 privilege level 15
 password 7 *******************************
 login authentication local_auth
 rotary 1
 transport preferred ssh
 transport input ssh
 transport output ssh

3 Replies 3

GRANT3779
Spotlight
Spotlight

Are you trying to logon via different port?

You said you can logon, but you then said you can't logon.

I see the rotary comnand under the first 5 vty lines.

Do you have the corresponding global config command.

ip ssh port xxxx rotary 1?

Are you purposely using rotary command?

Predrag Jovic
Level 3
Level 3

Is

aaa authentication login local_auth <local _or_other options>

configured ?

I agree that the original post is confusing when it originally says that they can login to the router via SSH and then saying that they can not get it to login. We need clarification about what does work and what does not work. I also agree that we do not have enough information about the config to identify any problem. Seeing local_auth used on the vty lines implies that aaa new-model is configured. If so we need to see all of the aaa commands used in the configuration.

HTH

Rick

HTH

Rick

Review Cisco Networking for a $25 gift card