Changed at ssh-permissions

This commit is contained in:
Marcin Woźniak 2023-07-04 21:27:37 +02:00
parent c4c4482cba
commit 06db0a333a
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -2,8 +2,13 @@ chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts
chmod 644 ~/.ssh/config chmod 644 ~/.ssh/config
chmod 400 ~/.ssh/id_rsa # chmod 400 ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa.pub # chmod 400 ~/.ssh/id_rsa.pub
# chmod 400 ~/.ssh/*/id_rsa
# chmod 400 ~/.ssh/*/id_rsa.pub
chmod 400 ~/.ssh/*/id_rsa chmod 600 ~/.ssh/*/id_rsa
chmod 400 ~/.ssh/*/id_rsa.pub chmod 600 ~/.ssh/*/id_rsa.pub
chmod 600 ~/.ssh/authorized_keys
chmod 600 ~/.ssh/known_hosts
chmod 600 ~/.ssh/config