01-26-2019 11:47 PM - edited 03-05-2019 11:13 AM
For authorization we have this line:
aaa authentication login default group tacacs+ enable
The vty lines only have:
privilege level 15
logging synchronous
transport input ssh
The WAN connection to the router is down, so it can't reach tacacs. I have a way to get to it by ssh from another device. (Not a Cisco device) Attempting ssh without specifying a username and then entering the enable password at the prompt doesn't work. Is there something I'm missing? My department inherited these routers and haven't spent much time looking at them, as we were planning to replace them quickly. Unfortunately that got put on hold.
01-27-2019 12:53 AM
Greetings,
For SSH Configuration try:
#line vty 0 4
#login local
#exit
#ip domain-name xyxyxyxy (anything)
#crypto key generate rsa
Then choose any number 512 or 1024 or any which is representing the encryption degree.
#transport input ssh
For the AAA configuration
I am considering that you have already the correct configuration of the AAA in addition to this command:
#username Andrew password Cisco
then you should issue the following command:
#aaa authentication login default group tacacs+ local
Try it, it should work successfully!
Please don't forget to rate all helpful responses and mark solutions!
Bst Rgds,
Andrew Khalil
01-27-2019 01:00 AM - edited 01-27-2019 01:02 AM
Hello,
if you don't have access to the TACACS server, you need to have local fallback configured.
aaa new-model
aaa authentication login default group tacacs+ local
You need to have a domain name configured and a hostname other than the default:
Router#conf t
Router(config)#hostname R1
R1(config)#ip domain-name local.com
Then configure an RSA key:
R1(config)#crypto key generate rsa modulus 1024
Then configure a local username:
username admin privilege 15 password 0 cisco
Then configure the VTY lines:
line vty 0 4
privilege 15
login authentication default <-- this line is not visible in the running config
transport input ssh
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