Skip to content

Instantly share code, notes, and snippets.

@jsyzdek
Last active September 9, 2023 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsyzdek/34e9203411082ef9ef22e835ccfed810 to your computer and use it in GitHub Desktop.
Save jsyzdek/34e9203411082ef9ef22e835ccfed810 to your computer and use it in GitHub Desktop.
openconnect without password
# If you want to connect to a vpn using openconnect from the command-line
# you can use this. I had it working with Citrix, and works with OpenVPN too.
echo 'password' | sudo openconnect --user=username --passwd-on-stin vpnurl.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment