I've generated keys and had them approved for access with my corporate IT team. However, I need to add them to my terminal every time I start my machine (the script i've been given to get around this isn't working for me yet). So for now I have to issue
ssh-add ~/.ssh/keyfolder/private_key every time I start my machine up.
Today however, I started getting this error:
~/.ssh/keyfolder/private_key: Permission denied
I've tried issuing a chmod 777 on that private key but no luck.
What have I done/am I doing wrong?
$sudo ls -lha ~/.ssh/keyfolder/private_key -rwxrwxrwx 1 rabdelaz staff 1.7K 2013-07-29 10:19 /home/rabdelaz/.ssh/keyfolder/private_key
ANSWER: I needed the right permission levels in the right places (obviously).
so what I did was was set the "keyfolder" and key itself to 600.
not sure what the permsions were before...