X-Git-Url: https://code.communitydata.science/nu-vpn-proxy.git/blobdiff_plain/5d9f17d8ee77bfab00a8b85609fc3b349e23e960..c3af198d8797d9d03af520f7662e932f26472573:/openconnect_command-ssh.sh diff --git a/openconnect_command-ssh.sh b/openconnect_command-ssh.sh index 2a875ff..d20f723 100755 --- a/openconnect_command-ssh.sh +++ b/openconnect_command-ssh.sh @@ -12,5 +12,4 @@ cd ~/bin/nu-vpn-proxy ## do the authentication eval $( ./gp-saml-gui.py -v --gateway --clientos=Linux vpn-connect2.northwestern.edu ) -echo "$COOKIE" | /usr/sbin/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 --script-tun --script "ocproxy -D 9052" -b --pid-file "${PID_FILE}" - +echo "${COOKIE}" | /usr/sbin/openconnect --protocol=gp '--useragent=PAN GlobalProtect' --user="${USER}" --os="${OS}" --usergroup=gateway:prelogin-cookie --passwd-on-stdin vpn-connect2.northwestern.edu --csd-wrapper="hipreport-modified.sh" --reconnect-timeout 60 --script-tun --script "ocproxy -D 9052" -b --disable-ipv6 --no-dtls --pid-file "${PID_FILE}"