cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1784
Views
1
Helpful
2
Replies

Unable to SSH to DNAC using root user

sleepless swan
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

Torbjørn
Spotlight
Spotlight

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

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

2 Replies 2

Dan Rowe
Cisco Employee
Cisco Employee

Please make sure you are using port '2222' when attempting to SSH into DNA center.

Torbjørn
Spotlight
Spotlight

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

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev