How to exclude SSH-agents in Powershell

47 views Asked by At

I created an agent in Powershell to manage an SSH key created directly in Git, but when deleting the key it still requests permission to be able to clone the repository even if the key has been deleted and I can no longer clone unless I have the key back which led me to believe that the agent created in Powershell is preventing it from cloning even without a key, how do I delete this agent in Powershell?

I used this command as admin in Powershell:

get-service -name ssh-agent | set-service -startuptype manual 
start-service ssh-agent 
ssh-add ***``key directory``***

Procurei sobre como apagar mais não achei nada só como encerrar o Powershell mas bom encerrar ele não retira o problema de forma definitiva.

0

There are 0 answers