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?
authorized_keysand afterwards take a look into the public key usually in the comment part you should see the user or machine<algorithm> <key> <comment>