简体   繁体   中英

VSCode Git via Remote-SSH

I have a VMWare Fusion 11.5 running which holds my repos. I prefer to run my tools on the Mac (Azure SQL Studio, VSCode etc) and not on the VM so I have setup VSCode to SSH to the VM machine.

Everything works, updating the code git status, add and commit however when I try to git pull/push from bitbucket nothing happens, no error message no time out nothing.

SSH is password based i think (it asks me for my password when I try to connect to the VM via SSH).

Any ideas?

If it asks for a password (the password of the remote account) and not a passphrase , that means the public key was not properly registered to the VMWare remote machine, at ~/.ssh/authorized_keys .

Start by adding your MacOS ~/.ssh/id_rsa.pub content to the remote user ~/.ssh/authrized_keys file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM