123qwe 123qwe - 1 year ago 82
Git Question

Why one of my ssh keys on github became grey(it was green) and doesn't work anymore?

I have two github accounts and i hadn't used one of them for a while.

Today i decided to add some refs to it, but in my github settings, ssh key became grey for some reason, so i couldn't push successfully.

I had to create new ssh key because of that.

How do i avoid this problem in the future?

ERROR was: Permission to one-of-my-acc denied to Name.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Answer Source

The error you described is the error you get when you try to fetch/push/push without the right keys.

In your case it looks like your key was revoke - become inactive.

I could not find any documentation about it in github and according to their docs there is no way to revoke the key manually.

The solution you followed is the right one.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download