Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS code Remote Development problem with SSH connection (Windows to Linux)

I'm Currently trying to setup Remote developement environment with VS code.

I have installed Remote - SSH plugin and edited my .ssh/config file as below

Host ABC

User ubuntu

HostName xx.xx.xx.xx

IdentityFile ~/.ssh/filename
  • It trowing an error by saying "An SSH Installation couldn't be found"

Local Machine - Windows Host Machine - Ubuntu(Linux)

Please help on this matter

like image 275
Malinda Wijekoon Avatar asked Mar 12 '26 15:03

Malinda Wijekoon


2 Answers

You are missing an SSH tool in your host machine. Popular implementation of SSH protocol, OpenSSH is installed by default in Windows 10. First confirm if you have OpenSSH client by going to

Windows Settings >> Apps & features >> Optional Features

If not, install OpenSSH client through "Add a feature" option at the optional features page.

Mostly VSCode can pick the executable from common installation locations of the ssh.exe. If still not able to resolve, add the property below in VSCode settings

"remote.SSH.path": "your/ssh.exe/path"

like

"remote.SSH.path": "C:\Windows\System32\OpenSSH"
like image 84
sgX Avatar answered Mar 14 '26 12:03

sgX


Instead of installing OpenSSH, installing Git on Windows 7 also works because Git for Windows installs the SSH client. It ships OpenSSH with the package.

like image 32
proseosoc Avatar answered Mar 14 '26 13:03

proseosoc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!