Suppose my bitbucket user name is \"jon\" and I have some personal projects at https://bitbucket.org/jon
.
Suppose I then join a development team that has a
It is regards to RSA file that appears on ../.ssh/
folder I fixed this by deleting any corrupt file and then generate again as you install GitHub.
These commands should fix the problem:
chown $USER ~/.ssh/config
chmod 644 ~/.ssh/config
Prefix with sudo
if the files are owned by different user.
If more files are affected, replace config
with *
.
In man ssh
we can read:
Because of the potential for abuse, this file must have strict permissions: read/write for the user, and not writable by others. It may be group-writable provided that the group in question contains only the user.
I had the same problem.
After i changed permissions of the file ~/.ssh/config
to -rw-r--r--
, the error
Bad owner or permissions on /home/username/.ssh/config
fatal: The remote end hung up unexpectedly
disappeared.
Write in console:
cd ~/.ssh
chmod 644 config