Setup Passwordless SSH SCP - lmkelly/Autoguard GitHub Wiki
- Create a keypair on the host machine
- On the remote machine create .ssh/authorized_keys as the user you're using the keys for
- Copy public key to authorized_keys
- Change permissions of the new file and directory
[deployer@Wireguard-Srv ~]$ chmod 700 .ssh
[deployer@Wireguard-Srv ~]$ chmod 640 .ssh/authorized_keys
- Select the private key file the next time you ssh and she'll work