Cisco ASA 2nd level login using different credentials than ssh credentials
See original GitHub issueBy default netmiko tries to use the same username to do the 2nd level “login” on the firewall. We have different credentials for the ssh portion, and the “login” portion on the firewall. There is an option to pass a “enable” password to the ConnectHandler, but we don’t use “enable”, we use login, and there are no option to pass different credentials for the “login” user/pass.
User my_secret_ssh_login_user logged in to my_secret_fw
Logins over the last 13 days: 46. Last login: 10:24:49 EST Mar 4 2022 from 10.1.1.1
Failed logins since the last login: 0.
Type help or '?' for a list of available commands.
asa-4150/my_secret_fw> show curpriv
Username : my_secret_ssh_login_user
Current privilege level : 1
Current Mode/s : P_UNPR
asa-4150/my_secret_fw>
asa-4150/my_secret_fw> login
Username: my_secret_ssh_login_user
Password: ***************
%Login failed
ERROR: Invalid username
Username: my_secret_ssh_login_user
Password: ***************
%Login failed
ERROR: Invalid username
Username: my_secret_ssh_login_user
Password: ***************
%Login failed
ERROR: Invalid username
asa-4150/my_secret_fw> my_secret_ssh_login_user
^
ERROR: % Invalid input detected at '^' marker.
asa-4150/my_secret_fw> login
Username: my_secret_ssh_login_user
Password: ***************
%Login failed
ERROR: Invalid username
Username:
Username: exit
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Cisco ASA Series General Operations CLI Configuration ...
SSH access to an interface other than the one from which you entered ... ASA using SSH with the pix or asa username...
Read more >CLI Book 1: Cisco Secure Firewall ASA Series General ...
SSH access to an interface other than the one from which you entered ... ASA using SSH with the pix or asa username...
Read more >SSH console towards ASA doesn't prompt for username ...
We have an ASA firewall that has to be SSH accessible for Cisco Prime on outside interface. SSH access on inside interface works...
Read more >Cisco ASA 5500 Series Configuration Guide using the CLI, 8.4 ...
In the SSH client on your management host, enter the username and password that you configured in the “Configuring SSH Access” section. When ......
Read more >Cisco ASA Series General Operations ASDM Configuration ...
Management access to an interface other than the one from which you ... ASA using SSH with the pix or asa username and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks Kirk
A note for future passers by:
Resolved, please mark closed.
Nice job @c3101 😃