ssh command chown & chmod
This commit is contained in:
parent
d3ce065079
commit
a4877edb91
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu
|
|||
```
|
||||
|
||||
- Remettre les clés SSH dans le dossier `$HOME/.ssh`
|
||||
```bash
|
||||
# To rechange to the correct permissions, you can run this command after re-uploading your ssh keys
|
||||
sudo chown $USER:$USER $HOME/.ssh/* && sudo chmod u=r,g=,o= $HOME/.ssh/* && sudo chmod g=r,o=r $HOME/.ssh/*.pub && sudo chmod g=r,o=r $HOME/.ssh/config && sudo chmod g=r,o=r $HOME/.ssh/environment
|
||||
```
|
||||
|
||||
- Désactive le mot de passe SU si nécessaire
|
||||
```bash
|
||||
|
|
Reference in a new issue