]> code.communitydata.science - nu-vpn-proxy.git/blobdiff - openconnect_command-general.sh
initial version of the CDSC version of scripts
[nu-vpn-proxy.git] / openconnect_command-general.sh
diff --git a/openconnect_command-general.sh b/openconnect_command-general.sh
new file mode 100755 (executable)
index 0000000..11d7dab
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# change to the vpn file directory
+cd ~/bin/nu-vpn-proxy
+
+## do the authentication
+eval $( ./gp-saml-gui.py -v --clientos=Linux vpn-connect2.northwestern.edu ) 
+
+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
+

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