---
title: Enforce SSH Key based Authentication for a User
description: "This guide will help an Administrator to require SSH key authentication for a specific User.   1. 1. **Login** to the Admin Dashboard.   ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/1_admin_dashboard.png)       2. Select **Users**.   ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/2_users_list.png)       3. **Right click the…"
url: "https://www.caorda.com/support/ftp/enforce-ssh-key-based-authentication-for-a-user/"
updated: "2024-02-27"
category: FTP
---

# Enforce SSH Key based Authentication for a User

This guide will help an Administrator to require SSH key authentication for a specific User.

 

1. 1. **Login** to the Admin Dashboard.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/1_admin_dashboard.png)
        
        
        
   2. Select **Users**.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/2_users_list.png)
        
        
        
   3. **Right click the User** you would like to add the authentication setting to**. Select Edit.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/3_edit_user.png)
        
        
        **
   4. In the User Properties window **select Limits & Settings.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/13_user_information_limits_settings_highlight.png)
        
        
        **
   5. Expand the Limit Type drop-down and**select Password.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/15_limit_type_dropdown.png)
        
        
        **
   6. **Select the SSH Authentication Type** limit and then **click the Edit button.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/16_ssh_authentication_type.png)
        
        
        **
   7. You will be asked if you would like to override the default. Click Yes.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/17_default_values.png)
        
        
        
   8. Expand the SSH Authentication type drop-down and select Public Key Only.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/18_ssh_auth_limit_settings.png)
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/19_limit_dropdown_public_key_only.png)
        
       With your selected authentication type click Save. 
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/20_public_key_only_selected.png)
        
       
   9. You will see that a duplicate row has been added to the list of Limits displaying your new override setting. **Click save.
        
       ![](/wp-content/uploads/support_images/servu_user_ssh_keygen/21_user_properties_ssh_auth_public_only.png)**
        
        
        
   10. This user will now be required to provide the configured public key to authenticate.
         
         
         
