Skip to content

Instantly share code, notes, and snippets.

@versedi
Created August 30, 2015 10:57
Show Gist options
  • Save versedi/a378513271ad01e4b7f3 to your computer and use it in GitHub Desktop.
Save versedi/a378513271ad01e4b7f3 to your computer and use it in GitHub Desktop.
Kill all ssh-agents Windows
taskkill /F /IM ssh-agent.exe /T
@cuongthm
Copy link

cuongthm commented Feb 10, 2020

Hello all.

I have just figured out a way to stop services without Admin right :D.
Read here: http://woshub.com/set-permissions-on-windows-service/

So you guy just using the net stop command to stop ssh-agent service without Admin right or using taskkill.

Greeting.

@realogandrew
Copy link

It's worth noting that when using Git Bash, you have to do taskkill -F //IM ssh-agent.exe //T instead of taskkill /F /IM ssh-agent.exe /T

@jagrutipyth
Copy link

Another way to do that is to open 'Task Manager (Ctrl + Alt + Delete)', find ssh-agent and end process.

Thank you so much!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment