Option 3 - Install OpenConnect Linux CLI

If you want to background the process, use the -b flag when running OpenConnect.

If you want to connect automatically, you can include the -p YOUR_PASSWORD flag to avoid having to enter it manually. We strongly recommend you set Linux permissions to 600 on your script to avoid exposing password to other users on the system.

If you are using OpenConnect without the network-manager-openconnect package, it may attempt to run in the foreground by default. Use the --background flag when starting the package to run it in the background.