Multi-Factor Authentication for remote logins

Effective 2027-01-06, first day of the Winter 2027 academic term, Duo multi-factor authentication will be required when using a password to log into any Teaching Labs computer from any network outside the Department of Computer Science. This is the same as already required for external logins to CSLab computers, using the central authentication engine used for university web services.

MFA for ssh

If you’ve set up a shared keypair with .ssh/authorized_hosts, nothing will change.

If you had to type a password to log in, you’ll be prompted for it as before. (The password is still that for your Teaching Labs login, not for your UTORid.) Once you’ve entered the correct password you’ll see a prompt like this:

Duo two-factor login for (your utorid)

Enter a passcode or select one of the following options:

1. Duo Push to XXX-XXX-1212
2. Duo Push to my-tablet (Android)

Passcode or option (1-2): 

Pick a device with which to authenticate, and type its number (in the example, 1 for the phone, 2 for the tablet) followed by carriage return. Click Allow in the Duo app on that device, and you’ll be logged into the computer.

If you have a hardware token that displays a passcode, you can just type that instead.

MFA for X2Go

For a remote graphical connection using X2Go, connect as before; enter your password in the pop-up box as before. Once you’ve done that correctly, a new pop-up box will display the same prompt as for ssh, with a box at the bottom to type the device number. Click Allow on the device (or enter the right passcode) and your graphical session will start.

Again, if you have a hardware token, you can just type the passcode it displays instead of a device number.

MFA for RDP over ssh

For a RDP over ssh, you must first establish an ssh connection with the RDP port forwarded, authenticating as for a plain text ssh connection as above. That means you’ll need to use MFA if you’re calling from an external network.

Once the ssh tunnel is established, everything works as it did before. RDP will still ask you to enter your Teaching Labs username and password, but no other authentication.