CompSci04: Setting up 2 Factor Authentication

Body

To setup 2FA, you'll first need to ssh into compsci04

Logging into compsci04

From a Mac

Open the Terminal application using Spotlight.

Uploaded Image (Thumbnail)
Uploaded Image (Thumbnail)

 

In Terminal type the following command.  Replace "username" with your six character login ID.

ssh -p 7576 username@compsci04.snc.edu

Note: When typing your password into a Terminal window the typing cursor doesn’t move.  Trust that you’re typing your password properly!

From a Windows PC

Open PuTTY or your favorite SSH application.

Uploaded Image (Thumbnail)

In PuTTY, enter the following information into the session manager

Host: compsci04.snc.edu

Port: 7576

Click Open, then enter your six character username and password

Note: When typing your password into the PuTTY window the typing cursor doesn’t move.  Trust that you’re typing your password properly!

Uploaded Image (Thumbnail)

Full screen your terminal window before proceeding to ensure the QR code displays properly.

Setting up 2FA

Once logged in, type the following command into your ssh session:

google-authenticator -tfdw 3 -r 3 -R 30

Open up your favorite Authenticator app (Google Authenticator, Microsoft Authenticator, Okta Verify) and use it to scan the QR code that was generated from that command.

Uploaded Image (Thumbnail)

Details

Details

Article ID: 938
Created
Fri 5/22/26 12:33 PM
Modified
Wed 5/27/26 11:41 AM