README.md aktualisiert
This commit is contained in:
@ -18,3 +18,8 @@ wget https://git.rwolff.homelinux.net/rpwolff/public-keys/raw/branch/master/auth
|
|||||||
mv authorized_keys ~/.ssh
|
mv authorized_keys ~/.ssh
|
||||||
chmod 600 ~/.ssh/authorized_keys
|
chmod 600 ~/.ssh/authorized_keys
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
sed -i "s/.*PasswordAuthentication.*/PasswordAuthentication no/g" /etc/ssh/sshd_config
|
||||||
|
sudo systemctl restart ssh
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user