cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3724
Views
0
Helpful
1
Replies

Authorization failed error when SSH to switch

CiscoBrownBelt
Level 6
Level 6

I receive the following whenever I SSH to a 4500 switch from another switch.

 

sh run
% Authorization failed.

 

 

Here is my aaa and username and vty lines

 


username test privilege 15 secret 5 $1$4AoX$1iqxmPLWnIXiN099dJise.
aaa new-model
!
!
aaa authentication login default group tacacs+ local line enable
aaa authentication enable default group tacacs+ enable
aaa authorization exec default group tacacs+ local if-authenticated
aaa authorization commands 15 default group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
!

 

 


line con 0
session-timeout 5
exec-timeout 5 0
logging synchronous
transport output ssh
stopbits 1
line vty 0 4
session-timeout 5
access-class SSH_AccessL in
exec-timeout 5 0
transport input ssh
line vty 5 15
session-timeout 5
access-class SSH_Access in
exec-timeout 5 0
transport input ssh

1 Reply 1

nazimkha
Level 4
Level 4
Have you generated the SSH keys ?
You may want to follow this procedure
https://www.cisco.com/c/en/us/support/docs/security-vpn/secure-shell-ssh/4145-ssh.html

Review Cisco Networking for a $25 gift card