Obfuscate password in CLI interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 03:07 AM
I would like to use the AnyConnect client from a terminal. I can do it using the following command:
/opt/cisco/anyconnect/bin/vpn -s connect HOST
But the password input is not obfuscated. I have tried manually stopping my stdin like this:
stty -echo
/opt/cisco/anyconnect/bin/vpn -s connect HOST
# type password
stty echo
But the client still prints the password. Is there any way to use the the CLI client without printing the password?
I am using:
Cisco AnyConnect Secure Mobility Client (version 4.3.03086) .
macOS v. 10.11 (15A4310)
- Labels:
-
VPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 05:49 AM
I'm not sure if that will be possible, but what about migrating your AnyConnect-Client to use certificates? Without
