Thêm quyền SSH vào Visual Studio Code

Tác giả: Dương Nguyễn Phú Cường
Ngày đăng: 1 tuần trước
Lượt xem: 19


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.
  1. Make sure ssh-agent service enabled, or run in Powershell (as administrator):
Get-Service -Name ssh-agent | Set-Service -StartupType Manual
  1. ssh-agent
  2. ssh-add
  3. git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe
Nguồn: https://stackoverflow.com/a/56579798