Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837
edits
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
CCDB Yubikeys.png|Step 7 | CCDB Yubikeys.png|Step 7 | ||
</gallery> | </gallery> | ||
== Using your second factor with SSH connections == | |||
When your account has multifactor authentication enabled, if you connect to a cluster which supports it via SSH, you will be prompted to use your second factor after you first authenticate either using your password or your [[SSH Keys|SSH key]]. This prompt will look like this: | |||
{{Command|ssh cluster.computecanada.ca | |||
|result= Duo two-factor login for username | |||
Enter a passcode or select one of the following options: | |||
1. Duo Push to My phone (iOS) | |||
Passcode or option (1-1):}} | |||
At this point, you can either select which phone or tablet (if you have multiple devices enrolled, you would get a list) you want Duo to send a notification to. You will then get a notification on your device, which you need to accept or decline. | |||
If you are using a Yubikey, a backup code, or if you prefer to enter the time based one time password that the Duo Mobile application shows, you would write these instead of selecting an option. For example: | |||
{{Command|ssh cluster.computecanada.ca | |||
|result= Duo two-factor login for username | |||
Enter a passcode or select one of the following options: | |||
1. Duo Push to My phone (iOS) | |||
Passcode or option (1-1):vvcccbhbllnuuebegkkbcfdftndjijlneejilrgiguki | |||
Success. Logging you in...}} |