cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
320
Views
0
Helpful
1
Replies

Obfuscate password in CLI interface

Bruno Duran
Level 1
Level 1

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)

1 Reply 1

I'm not sure if that will be possible, but what about migrating your AnyConnect-Client to use certificates? Without passwords this problem is not existing.