Skip to content

Instantly share code, notes, and snippets.

@anishthite
Created September 9, 2020 00:17
Show Gist options
  • Select an option

  • Save anishthite/6a22402346f44469ca4f25c53446f77a to your computer and use it in GitHub Desktop.

Select an option

Save anishthite/6a22402346f44469ca4f25c53446f77a to your computer and use it in GitHub Desktop.
gtvpn (replace athite3 with desired uname)
#!/bin/bash
read -s -p "Enter password" PASS
sudo openconnect --no-dtls --interface=sslvpn -b https://anyc.vpn.gatech.edu << eof
gatech-2fa-Duo
athite3
$PASS
push
eof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment