268 B
268 B
Public-SSH-Key
curl https://gitea.patchyfuntimes.com/mistsage2/Public-SSH-Key/raw/branch/main/homelab_pub --output /root/.ssh/authorized_keys && chmod 600 /root/.ssh/authorized_keys
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config
systemctl restart sshd