Skip to content

Instantly share code, notes, and snippets.

@hadisfr
Last active August 13, 2018 17:01
Show Gist options
  • Save hadisfr/046eafddd7d9f520cbc72c5504716c71 to your computer and use it in GitHub Desktop.
Save hadisfr/046eafddd7d9f520cbc72c5504716c71 to your computer and use it in GitHub Desktop.
run cisco anyconnect vpn client from macOS terminal
#!/bin/sh
/opt/cisco/anyconnect/bin/vpn -s << EOF
connect hosthere:porthere
usernamehere
passwordhere
exit
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment