Skip to content

Instantly share code, notes, and snippets.

@pilgun
Last active June 13, 2019 11:24
Show Gist options
  • Save pilgun/f2196191ee83f5cc6c9e6559cab86a63 to your computer and use it in GitHub Desktop.
Save pilgun/f2196191ee83f5cc6c9e6559cab86a63 to your computer and use it in GitHub Desktop.
git does not work over ssh by default on Windows 10 and throws: Permission denied (publickey)
Run in powershell:
Get-Service -Name ssh-agent | Set-Service -StartupType Manual
ssh-agent
ssh-add
git config --global core.sshcommand C:/Windows/System32/OpenSSH/ssh.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment