Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save naviat/fbce54e6b1b68dbc9cea0e9149e36188 to your computer and use it in GitHub Desktop.
Save naviat/fbce54e6b1b68dbc9cea0e9149e36188 to your computer and use it in GitHub Desktop.

Revisions

  1. @luckydev luckydev created this gist Feb 20, 2018.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    SSH Login as openvpnas user

    $ ssh openvpnas@<open-vpn-server-ip>
    $ cd /usr/local/openvpn_as/scripts/ # Go to OpenVPN AS Scripts directory
    $ sudo ./sacli --user USERNAME GoogleAuthRegen # Replace USERNAME with username to get a new Google Authenticator Secret

    Source: https://forums.openvpn.net/viewtopic.php?t=15366