Skip to content

Instantly share code, notes, and snippets.

@iqbalhasnan
Created March 2, 2016 00:55
Show Gist options
  • Select an option

  • Save iqbalhasnan/093e3e300e6cd3ebadf7 to your computer and use it in GitHub Desktop.

Select an option

Save iqbalhasnan/093e3e300e6cd3ebadf7 to your computer and use it in GitHub Desktop.
Cisco AnyConnect Command Line
# Connect
printf "USERNAME\nPASSWORD\ny" | /opt/cisco/anyconnect/bin/vpn -s connect HOST
# Disconnect
/opt/cisco/anyconnect/bin/vpn disconnect

ghost commented May 19, 2016

Copy link
Copy Markdown

consider using apple's keychain to hide credentials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment