diff --git a/README.md b/README.md index c01a251..8bc8083 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,8 @@ wget https://git.rwolff.homelinux.net/rpwolff/public-keys/raw/branch/master/auth mv authorized_keys ~/.ssh chmod 600 ~/.ssh/authorized_keys ``` + +``` +sed -i "s/.*PasswordAuthentication.*/PasswordAuthentication no/g" /etc/ssh/sshd_config +sudo systemctl restart ssh +```