Skip to content

Instantly share code, notes, and snippets.

@farhang
Created October 14, 2020 21:58
Show Gist options
  • Save farhang/6166af475b3899fccf23c2e6315cf35c to your computer and use it in GitHub Desktop.
Save farhang/6166af475b3899fccf23c2e6315cf35c to your computer and use it in GitHub Desktop.
openconnect bash alias
alias cvpn="echo 'PASSWORD' | sudo openconnect --passwd-on-stdin --reconnect-timeout 1 --servercert sha256:<FINGERPRINT> --authgroup <AUTHGROUP> --user <USER_NAME> <HOST>:<PORT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment