Skip to content
windows连GitHub被拒
2025年3月13日 root

背景 ​

linux 用key可以连接到github,但是windows不行

错误提示 ​

git@github.com: Permission denied (publickey)

解决办法 ​

git config --global core.sshCommand "'C:\Windows\System32\OpenSSH\ssh.exe'"

Last updated: