Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
309 B

#!/usr/bin/env sh
# TODO: --authgroup should probably be an option as well
. ~/.secrets
# Needs to be invoked with sudo -E or similar to access these environment vars:
echo "$VPN_PASSWD\npush" | sudo -E openconnect --no-cert-check --juniper "$VPN_PATH" -u "$VPN_USER" --passwd-on-stdin --authgroup general