SSH Certificate Authentication

This article will quickly help you to enable SSH certificate authentication on a linux system.

On the client:

cd ~/.ssh
ssh-keygen -t rsa
scp id_rsa.pub <user>@<yourhost>:.ssh/authorized_keys

On the server:

chmod 700 ~/.ssh
chmod 600 ~/.ssh/*


yum install pam_ssh

 

Thats it. Enjoy