Not just another WordPress.com weblog

Menu

Automating Cisco AnyConnect Secure Mobility Client on Mac OS X

Do you hate having to manually enter the password in order to connect to a Cisco VPN? Well, I do. And I have found that instead of relying on the Cisco AnyConnect Security Mobility Client GUI application, one can use the command-line counterpart to automate VPN login.

Provided that you can log into your VPN using the graphical client, you can automate VPN login by using the following shell script:

This isn’t working for me and I’ve been looking everywhere.. The -s option doesn’t seem to exist? When I execute the script it starts but then exits without reason. I can connect the normal way. Any help would be much appreciated.