Centos SSH Public keys

Make and copy your public key:

[Blogpost 74](https://hwcdi.com/blogpost/74/Enable_Key_based_SSH_%28for_machine_to_machine_talking_%28backup%2C_etc%29%29)

then

[root@STG1 colin]# chmod 700 .ssh/
[root@STG1 colin]# chmod 600 .ssh/authorized_keys
[root@STG1 colin]# restorecon -Rv .ssh/

Leave a Reply

Your email address will not be published. Required fields are marked *