Skip to content

Using Authy and Generating OTP


Authy, a free app from Twilio, can generate one-time passwords (OTPs) on your laptop or desktop computer, which you can use when logging into the Savio high-performance computing cluster at UC Berkeley.

We recommend using the Authy app if you do not have a mobile device - such as most iOS or Android smartphones and tablets - capable of running the Google Authenticator app. (If you do have one of these, you can find setup instructions for your device in Logging into Savio.)

Authy is a desktop app. This app can be installed on MS Windows, OS X / macOS, and Linux.

Setting up Authy

Setup steps:


This documentation was completed with a Mac OS, using a Chrome browser.

  1. Using your browser of choice, download Authy.

  2. In the following section of the download page, click the icon for the device and OS you're using:

    Screenshot: Download Page on Authy Website

  3. Download to your device and, once completed, launch Authy on your device.

  4. Follow the on-screen instructions to send a text message to your phone, or to call you. This will give you a code that you will need to enter into Authy.

    If you have a landline phone, or a cell phone that can't receive text messages, be sure to click the "Call" button - rather than the "SMS" button - at the "Verify my identity via" prompt.

  5. Next, in Authy's window, click the "Settings" (gear) icon (lower right):

    Screenshot: Authy Tokens Screen

  6. Set up a Master password by going to “General”, selecting "Master Password", and then following the onscreen instructions:

    Screenshot: Authy Settings

  7. After setting a Master Password, navigate back to the “Tokens” screen:

    Screenshot: Authy Tokens Screen

  8. Select the red Plus ('+') button on that screen to create a new account. You'll now see a screen asking for you to enter a code:

    Screenshot: Authy Add Account

  9. Now you'll leave Authy, go back to your browser window, and get that code. Visit the Non-LBL Token Management web page to access the code you need.

  10. Login to the Non-LBL Token Management web page by clicking the button for the external account (UC Berkeley CalNet, Google, Facebook, or LinkedIn) that you previously linked to your Savio/BRC cluster account.

    (If, when doing so, you encounter the error message, "Login Error: There was an error logging you in. The account that you logged in with has not been mapped to a system account", please complete this form to link your personal account to a BRC cluster account. Then, return right back here, to re-try this step in the Authy instructions.)

  11. From the "Token Management" page which appears, create a new token by clicking on "Add an HPC Cluster/Linux Workstation token" and following the onscreen instructions.

    IMPORTANT: Remember the PIN that you are setting on the token. Note: Even if you've already created one or more tokens for use with Google Authenticator on a smartphone or tablet, you'll still need to create a new token for use with Authy.

  12. After you've successfully created your new token, a QR code for that token will then be displayed.

    Screenshot: Scan Code with Google Authenticator

  13. Because Authy doesn't have a way to scan the QR code (directly or via a helper app), you'll need to extract the 'secret' from the currently displayed webpage.

    (The instructions that follow here are a bit tricky ("fiddly") so please be sure to pay close attention to both the instructions and screenshots.)

    To do so, right click on the QR code and select “Source”.

  14. Click the "Inspect Element" icon - the icon with the 'arrow in a box,' at the upper left of the right-hand panel.

    Screenshot: Inspect Element Icon

  15. Then click on the QR code, so that code is highlighted:

    Screenshot: Click QR Code to Highlight

  16. Over in the right-hand panel, you'll see some text highlighted, which will most likely begin with img style=.... (That's the HTML markup which corresponds to the image of the QR code, in the left-hand panel.)

    Press the up arrow key on your keyboard - typically twice - until a block of text just before this is selected: the text that begins with div id="qrcode":

    Screenshot: Navigate HTML Markup

  17. Within that block of text, select and copy the "secret" text to the Clipboard. That's the text immediately following secret= and ending before &issuer=, in the token string that begins with otpauth://, in the location shown by **secrettexttocopyishere** in the example below:


    The "secret" text will typically be 32 characters in length, and consist of both uppercase letters and digits. For example:

    Screenshot: Secret Text Example

    If you can't easily select just that "secret" text itself, as an alternative, you can paste in the full token and perhaps even some surrounding text into a text editor or word processing application, and select that text there. (If you do so, for optimum security, do not ever save that token - nor the "secret" text within that token - in any document on your disk.)

  18. Paste that "secret" text into the "Enter code given by website" field in Authy, right above the "Add Account" button. Once entered, click the “Add account” button.

    Be sure to verify that the text pasted into the "Enter Code" field is exactly the same as the "secret" text in the token. (If these differ, even by only a single character, the one-time passwords that Authy generates will not work with Savio.)

    Screenshot: Authy Enter Code

  19. On the next screen, select a logo for your new Authy account and enter a name for that account. ("Savio" - or any similar name - is a reasonable option for an account name.) Then click "Done".

    Screenshot: Authy Select Logo and Name

  20. Select the arrow in the upper left to to move from the Settings screen, to the screen where you can generate one-time passwords.

  21. On the screen where you can generate OTPs, click on the logo (or name) for the account you just created:

    Screenshot: Click Savio Name

  22. You should now see one-time passwords being generated: a new one will be displayed every 30 seconds:

    Screenshot: New Password Generation

    (Authy displays the one-time password with a space between the first and last three digits. When you click the "Copy" button, however, the password is correctly copied to the clipboard without that space.)

Assuming the "secret" text you pasted into Authy's "Enter Code" field in step 18, above, was the correct text from your token, you've now successfully completed the process of setting up Authy to generate one-time passwords for Savio.

Logging Into Savio

When you want to log into Savio:

  1. Use your terminal or SSH application to connect to

  2. At Savio's Password: prompt, enter your token PIN (do not press Return/Enter to add another line).*.

    *reminder that you will not see the text you enter into the terminal

  3. Click Authy's "Copy" button to copy the one-time password to the Clipboard.

  4. Then, at Savio's Password: prompt, immediately following the token PIN that you've already entered, paste in the one-time password from Authy and press Return/Enter.

(For more details on logging in, please see the Logging into Savio documentation.)

Launching the Authy App

To launch the Authy app later on, it will need to be installed on the device you are using to access Savio. Please refer to Step 1 for installing Authy on additional devices.