Thêm quyền SSH vào Visual Studio Code
Tác giả: Dương Nguyễn Phú Cường
Ngày đăng: 1 ngày trước
Lượt xem: 33
Windows 10 allows using all default OpenSSH tools. However, git was throwing permission denied for every time when I tried to clone repositories from Github, Gitlab or Bitbucket over SSH. You need to perform a few tweaks to make it work.
- Make sure ssh-agent service enabled, or run in Powershell (as administrator):
Get-Service -Name ssh-agent | Set-Service -StartupType Manual
ssh-agent
ssh-add
git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe