README.md aktualisiert
This commit is contained in:
@ -20,6 +20,6 @@ chmod 600 ~/.ssh/authorized_keys
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
sed -i "s/.*PasswordAuthentication.*/PasswordAuthentication no/g" /etc/ssh/sshd_config
|
sed -ri "s/^#? *PasswordAuthentication *yes.*/PasswordAuthentication no/" /etc/ssh/sshd_config
|
||||||
sudo systemctl restart ssh
|
sudo systemctl restart ssh
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user