This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
|
ssh_dir_permissions() {
|
|
sudo chown -R $USER:$USER $HOME/.ssh
|
|
sudo chmod 00700 $HOME/.ssh
|
|
sudo chmod 600 $HOME/.ssh/authorized_keys
|
|
sudo chmod 400 $HOME/.ssh/id_rsa
|
|
sudo chmod 644 $HOME/.ssh/id_rsa.pub
|
|
sudo chmod 600 $HOME/.ssh/known_hosts
|
|
}
|