Reputation: 167
I want to disable a working git ssh key. But do not know the owner of the ssh key. For both disabling the key or removing the user, I would need to know the user details.
The file:.git/config
does not include the user information.
And I face the below error when I try to commit
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
FYI: The key is SAML authorized.
Can I know if there is a way we can find the git user using the ssh key?
Upvotes: 4
Views: 2403
Reputation: 4388
You can connect to Github using that public key
ssh -T [email protected]
Returns:
Hi githubUser! You've successfully authenticated, but GitHub does not provide shell access.
Upvotes: 4