10-26-2023 03:01 AM
I have been trying to SSH to the DNAC using the maglev user for troubleshooting purposes. I can login to the webui just fine. However, SSH won't work. I tried creating another admin user on DNAC, same issue. Are there any other DNAC setting required to allow SSH?
Solved! Go to Solution.
10-30-2023 01:38 PM
As Dan pointed out you need to use port 2222 when connecting to the DNAC through SSH.
The maglev user on CLI(SSH) and the admin in the web UI aren't the same credentials. When you set up the DNAC you configure a linux password(maglev user) and an admin password(admin in web-UI). When you create another local user in the web-ui this only for the application/web-ui and isn't a valid linux/cli credential. You should also note that you get temporarily locked out if you repeatedly enter the wrong maglev password. If that is the case it should start working again after an extended coffee break.
If you have forgotten your maglev password you can reset it with the following procedure: https://www.cisco.com/c/en/us/support/docs/cloud-systems-management/dna-center/218052-reset-cisco-dna-center-s-maglev-user-pas.html
10-30-2023 08:06 AM
Please make sure you are using port '2222' when attempting to SSH into DNA center.
10-30-2023 01:38 PM
As Dan pointed out you need to use port 2222 when connecting to the DNAC through SSH.
The maglev user on CLI(SSH) and the admin in the web UI aren't the same credentials. When you set up the DNAC you configure a linux password(maglev user) and an admin password(admin in web-UI). When you create another local user in the web-ui this only for the application/web-ui and isn't a valid linux/cli credential. You should also note that you get temporarily locked out if you repeatedly enter the wrong maglev password. If that is the case it should start working again after an extended coffee break.
If you have forgotten your maglev password you can reset it with the following procedure: https://www.cisco.com/c/en/us/support/docs/cloud-systems-management/dna-center/218052-reset-cisco-dna-center-s-maglev-user-pas.html
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