Support Center

How to Enable Multifactor Authentication for SSH on Linux Systems

Enable Multifactor Authentication for SSH on Linux

 
  1. Navigate to Systems in the Administrator console and open the details of the system
  2. 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.
     
  3. Users must obtain an application to generate TOTP tokens and validate their TOTP key 
  4. Test:
    $ ssh auser@192.168.1.1
    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:~$ 
    



Multi-Factor Authentication for Linux | JumpCloud Tutorial

 

Last Updated: Jun 14, 2017 11:28AM MDT

Related Articles
31b11a79e2c94470a66430cfe6d3eecd@jumpcloud.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete