Re: How to use CLI to change pre-shared-key on ASA: Forgot Password



Buck Rogers wrote:
Hello,

I've forgotten the pre-shared-key needed to connect via VPN.

How do I change it via the CLI.

I entered the following command: no pre-shared-key * so I could then
re-enter it but I received an error after the command. Therefore, it
wouldn't delete the key.

I've tried viewing the key in clear text, but all examples I tried
failed to show the password in clear text.......tftp, config show
running config, ASDM.

The following is the part of my config that pertains to my question:

service-policy global_policy global
group-policy xxxxxx internal
group-policy xxxxxx attributes
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value xxxxx_splitTunnelAcl_1
username xxxxxxxx password HUnPMQd7PYqD/tGX encrypted privilege 0
username xxxxxxxx attributes
vpn-group-policy xxxxxx
username xxxx password EESlanzMed7BYAKE encrypted privilege 0
username xxxx attributes
vpn-group-policy xxxxx
tunnel-group xxxxxx type ipsec-ra
tunnel-group xxxxxx general-attributes
address-pool xxxxx
default-group-policy xxxxx
tunnel-group xxxxxx ipsec-attributes
pre-shared-key *

You entered "tunnel-group xxxxxx ipsec-attributes" then carriage return to get into the sub-command mode before entering "no pre-shared-key *", didn't you?

Also, you may or may not have to type the actual key.

prompt hostname context
Cryptochecksum:053b3a6bbbaf375af375349b53b0dd51

Any help will be appreciated.

Regards,

Buck


--
Best Regards,
News Reader
.



Relevant Pages