Hello BAS Team,
I'm using a SSH public/private key to authenticate to a Git repository. Unfortunately the following happens each time when I had to restart BAS:
user: so-mt $ git pull @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0660 for '/home/user/.ssh/id_dsa' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "/home/user/.ssh/id_dsa": bad permissions git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
to fix the issue I need to run:
user: so-mt $ chmod 600 /home/user/.ssh/id_dsa
Then all is fine:
user: so-mt $ git pull Enter passphrase for key '/home/user/.ssh/id_dsa': Already up to date.
Hope that can be fixed and BAS does not change file autzorizations.
Best regards
Gregor