Enable Multifactor Authentication for SSH on Linux
- Navigate to Systems in the Administrator console and open the details of the system
- Under Multifactor Authentication, select the Enable check box
Note: If Public Key Authentication is selected, at the same time as MFA, Public Key will take precedence and users will not be prompted for a verification code.
- Users must obtain an application to generate TOTP tokens and validate their TOTP key
$ ssh firstname.lastname@example.org 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:~$