• install openssh
  • setup server
    • /etc/ssh/sshd_config.d/20-force_publickey_auth.conf
      • PasswordAuthentication no
      • AuthenticationMethods publickey
    • add clients to authorized_keys
    • chmod 400 ~/.ssh/authorized_keys
    • generate server key
    • check config with sshd -t
      • no output is good
    • sudo systemctl enable sshd --now