diff --git a/dots/bin/deploySshKeys.sh b/dots/bin/deploySshKeys.sh index 7696c4b..10f7d6a 100644 --- a/dots/bin/deploySshKeys.sh +++ b/dots/bin/deploySshKeys.sh @@ -43,6 +43,7 @@ if [[ ${user_input} == "y" ]]; then echo "yes" echo "please, remember the hint: poq.l2" gpg -d ${trg_ssh_dir}/id_rsa.gpg > ${trg_ssh_dir}/id_rsa + chmod 0600 ${trg_ssh_dir}/id_rsa # id_rsa can not be accessible by other users else echo "no worries. you can manually decrypt the file, if needed:" echo "gpg -d id_rsa.gpg > id_rsa"