cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5976
Views
5
Helpful
2
Replies

Copy and paste ASA passwords

johnlloyd_13
Level 9
Level 9

hi,

my google search failed me and gives me old cisco links.

i'll be creating a standard deployment asa doc but want to hide/hash the password.

i just want the remote tech use the doc and copy/paste the enable PW, SSH PW, username PW.

so my question is:

if i configure the new PW on the ASA and i know (correct if i'm wrong) it displays in MD5 in show run,

can i just copy/paste the output on the word doc and it will still be the same PW?

i know i tried this on a router but haven't tried yet on the ASA. have to lab this yet tomorrow but want to get quick answers now

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

Yes - you can copy the config line like:

username john password hashedstring encrypted privilege 15

...between ASAs if you have entered it plaintext once and then retrieved the hashed value from the running-config. The username will work with the original plaintext password.

Note - I'm not positive about ASA 9.7. They changed the password hashing to use a new method called PBKDF2 vs. the old MD5. PBKDF2 uses a cryptographic salt (unlike MD5).

https://en.wikipedia.org/wiki/PBKDF2

View solution in original post

2 Replies 2

Marvin Rhoads
Hall of Fame
Hall of Fame

Yes - you can copy the config line like:

username john password hashedstring encrypted privilege 15

...between ASAs if you have entered it plaintext once and then retrieved the hashed value from the running-config. The username will work with the original plaintext password.

Note - I'm not positive about ASA 9.7. They changed the password hashing to use a new method called PBKDF2 vs. the old MD5. PBKDF2 uses a cryptographic salt (unlike MD5).

https://en.wikipedia.org/wiki/PBKDF2

hi marvin,

i've confirmed using my lab the copy/paste worked!

the latest image we've installed is 9.4 so we're not running 9.7 yet.

Review Cisco Networking for a $25 gift card