How To: Create SSH Keys and apply to a User
Question
How can I create SSH keys for users and use it as authentication aside from password?
Reasoning
SSH Key Authentication is more secure than Password authentication.
Answer
Follow the below steps-by-steps procedure.
Steps
- Login to your Titan Server.
- Navigate to your Server > Services > SSH/SFTP
- Click Manage Host Keys
- Click b > Choose what type of Keys you would like to use (RSA, DSA, ECDSA)
- Choose what Key Size you would like, for RSA minimum of 2048.
- Enter a Host Key Name of your choice
- Click Add
Check the checkbox for Enable Public Key authentication and you may also check Kick users who present an incorrect SSH Host Key , and to apply the changes click Apply at the upper right of the screen, then click OK
To apply it on the users. Go to Server > Users> Choose the user you wanted to change the settings and click the pencil icon, then choose Edit User Services
In the User Services Window, choose SSH/SFTP
Then check the checkbox for the SSH User Host Keys that the user will use to login, then click Apply