-
-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Stop-SshAgent cmdlet #28
Comments
Could Start-SshAgent always kill existing agents first? |
Well if the agent is running fine, I wouldn't want that to kill it because then I would have to enter my password again. For example, if I close my console, re-open it, my profile will attempt to start-sshagent, but if it's running, it might all be fine. Right? |
On closer inspection, Stop-SshAgent already exists, contributed by @markembling: e212dfd |
Closing this - please reopen if the existing |
CustomerBuilder.Build() fix for ZA
Posh-Git includes a
Start-SshAgent
cmdlet, but no correspondingStop-SshAgent
command.Why would I need one? Well occasionally it seems SSH Agent gets in a state where it's running, but it's not supplying my credentials. So I end up having to supply my pass phrase.
I end up wanting to restart the agent, but I have to go into task manager and kill the process and then run the
Start-SshAgent
command.I'd prefer to be able to run
Stop-SshAgent
and then start it again. Or perhaps even have aRestart-SshAgent
command. :)The text was updated successfully, but these errors were encountered: