]> code.communitydata.science - nu-vpn-proxy.git/blob - openconnect_command-general.sh
don't run the openconnect script in the background
[nu-vpn-proxy.git] / openconnect_command-general.sh
1 #!/bin/bash
2
3 # change to the vpn file directory
4 cd ~/bin/nu-vpn-proxy
5
6 ## do the authentication
7 eval $( ./gp-saml-gui.py -v --gateway --clientos=Linux vpn-connect2.northwestern.edu ) 
8
9 echo "$COOKIE" | sudo openconnect --useragent="PAN GlobalConnect" --version-string='5.1.0-101' --protocol=gp -u "$USER" --os="$OS" --passwd-on-stdin "$HOST" --csd-wrapper="hipreport-modified.sh" --reconnect-timeout 60
10

Community Data Science Collective || Want to submit a patch?