04-15-2011 10:53 AM - edited 03-06-2019 04:38 PM
Hi - I am configuring a 871 to control remote VPN access.
When I create a user/password using SDM, the password is displayed encrypted on "show running-config" command.
But, if I log into 871 using Putty and use "username myuser privilege 1 secret 0 mypassword", then the password is displayed as text with the same "show running-config" command.
My question is : what is the syntax of the "username ..." command, so the password is encrypted in "show running-config" display ?
Thanls a lot. Sebastian.
Solved! Go to Solution.
04-15-2011 11:35 AM
You need to enable password encryption
Router(config)#service password-encryption
Should do the trick.
Please rate helpful posts.
04-15-2011 11:35 AM
You need to enable password encryption
Router(config)#service password-encryption
Should do the trick.
Please rate helpful posts.
04-15-2011 01:50 PM
Antonio is correct, that will encrypt all passwords on your device.
If you did not want to use that global command, you could use the following;
username cisco privilege 15 password 7 cisco
The 7 encrypts the password.
04-16-2011 05:25 AM
The 7 also means that you will enter the password in it's encrypted form. Best used when copy/pasting default or original confute. Good tip, Christian. Both methods will solve your problem, Mike.
Please rate helpful posts.
Sent from Cisco Technical Support iPhone App
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