Skip to content

Instantly share code, notes, and snippets.

@nulltier
Last active August 17, 2017 17:27
Show Gist options
  • Save nulltier/4275445 to your computer and use it in GitHub Desktop.
Save nulltier/4275445 to your computer and use it in GitHub Desktop.
usefull commands for ssh-agent in powershell
Get-SshAgent - Returns the process ID of the running agent, or zero if there is not one currently running.
Start-SshAgent - Starts the agent process and sets the appropriate environment variables for SSH.
Stop-SshAgent - Stops the process if there is one and unsets the variables.
Add-SshKey - Instructs the agent to add the given key to itself. This will cause you to be prompted for the passphrase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment