Setup Passwordless SSH SCP - lmkelly/Autoguard GitHub Wiki

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