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

CLI Creds not working

EstevanNV
Level 1
Level 1
I have read thru the threads to know that the GUI and CLI logins are not same other than default admin I created during initial setup and configuration.

I need to create SSH/console logins as a backup to GUI.

Followed the steps to create username with had password and admin roles.  
Still when I try to login via SSH or directly via VMRC (I have the ISE server as a VM) it doesn't work.
What am i doing wrong?
Ex below: 
conf t
username EstevanAD password hash ********* role admin

exit

 
1 Accepted Solution

Accepted Solutions

You're doing this correctly, but two things come to mind.

1:

When you're adding the user, are you using the "password hash $6$....." method, or are you adding the user using "password plain <cleartext> .. " ?

If you're pasting a hash directly, consider adding using a plain password (ISE will convert it) to verify that there are no issues with the provided hash.

2:

The username is case sensitive, so if your username is EstevanAD you need to SSH in with EstevanAD (and not estevanad)

View solution in original post

2 Replies 2

You're doing this correctly, but two things come to mind.

1:

When you're adding the user, are you using the "password hash $6$....." method, or are you adding the user using "password plain <cleartext> .. " ?

If you're pasting a hash directly, consider adding using a plain password (ISE will convert it) to verify that there are no issues with the provided hash.

2:

The username is case sensitive, so if your username is EstevanAD you need to SSH in with EstevanAD (and not estevanad)

That was it, I used the plain password instead of hash and it worked.

 

Thank you sir!