Cisco vpn client for apple mac

broken image
broken image

Spawn /opt/cisco/anyconnect/bin/vpn connect $addrįill out the set fields as normal. Set group '' # Group NUMBER shown in connect prompt Set pass '' # Password (ensure that special characters are escaped) Thanks go to the previous answerers, GhostLyrics for revealing the existence of the server side option that turns off password saving, and Hans for revealing the vpn command line client.Ĭreate a file that looks like this: #!/usr/bin/expect. Both answers here as I write this have the right of it, but the existence of the vpn command line means that we can get around this user-hostile design with expect.