Enable Multi-factor Authentication for SSH on LinuxTip: You can enable MFA for multiple systems using the more actions menu's Enable MFA option.
- In the JumpCloud Administrator Portal, go to the Systems list.
- Select the Linux system to view its System Details.
- In the system's Settings, select Enable Multifactor Authentication on this System.
After you select this option, you are prompted to read a notification about MFA. Click ok.
Note: If Public Key Authentication is selected, at the same time as MFA, Public Key takes precedence and users aren't prompted for a verification code.
- Click save system.
Important: After you enable MFA on this system, users must obtain an application to generate TOTP tokens and validate their TOTP key to login to this system.
$ ssh email@example.com Password: Verification code: Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-28-generic x86_64) * Documentation: https://help.ubuntu.com/ 188 packages can be updated. 0 updates are security updates. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. auser@ubuntu1604:~$
Determine who has MFA
To determine the MFA status of users bound to this system, go to the Systems Users tab. User MFA Status is shown in the MFA Status column. To learn about viewing MFA status and enabling MFA for users, see Using Multifactor Authentication with JumpCloud.