Hello,
I would like to run an upload script on Cisco devices to encrypt preshared keys.
The script has to look like this (from configure terminal):
"key config-key password-encrypt"
After executing this, user input must be set to specify the key:
"New key:**** "
"Confirm key:**** "
I tried to run the script with the keys as plain text:
"key config-key password-encrypt
password
password"
But the task fails.
How can I solve the issue?