myhome/.local/bin/ssh-permissions
Marcin Woźniak f8240b9ea7 Added the ssh-permissions
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
2023-03-02 11:33:02 +01:00

10 lines
212 B
Plaintext
Executable File

chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
chmod 644 ~/.ssh/config
chmod 400 ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa.pub
chmod 400 ~/.ssh/*/id_rsa
chmod 400 ~/.ssh/*/id_rsa.pub