From a18058673abc144ed23a121d08ed5d669b9e724d Mon Sep 17 00:00:00 2001 From: mistsage2 Date: Sun, 25 May 2025 18:09:58 -0900 Subject: [PATCH] error corrected --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 401246a..add6f7f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # 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 "PermitRootLogin prohibit-password" >> /etc/ssh/sshd_config && echo "AuthorizedKeysFile .ssh/authorized_keys" >> /etc/ssh/sshd_config && echo "Password Authentication no" >> /etc/ssh/sshd_config +echo "PermitRootLogin prohibit-password" >> /etc/ssh/sshd_config && echo "AuthorizedKeysFile .ssh/authorized_keys" >> /etc/ssh/sshd_config && echo "PasswordAuthentication no" >> /etc/ssh/sshd_config systemctl restart sshd \ No newline at end of file