myhome/.local/bin/ssh-permissions

7 lines
155 B
Plaintext
Raw Normal View History

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