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)