07-15-2017 08:46 AM
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
07-15-2017 09:32 AM
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?
07-15-2017 09:41 AM
Is
aaa authentication login local_auth <local _or_other options>
configured ?
07-17-2017 10:05 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide