
Ubuntu was tested you might have different results on other distributions. Making that a user or system environment variable will be easiest. Windows (Pageant): You can use Pageant instead of OpenSSH, in which case it is necessary to set the environment variable SSH_AUTH_SOCK=pageant. From an admin PowerShell prompt, run Set-Service ssh-agent -StartupType "Automatic" and Start-Service ssh-agent. There is a Windows service, ssh-agent that is disabled by default, and needs to be re-enabled and set to automatic start. Windows (OpenSSH): The latest version(s) of Windows 10 include OpenSSH by default. If a key pair has already been set up, it can be used.Ĭonfigure ssh-agent on the local system with the private key file produced above. Password authentication is not supported by Docker and not possible with a DOCKER_HOST-based configuration. Use ssh-keygen or similar to get and configure a public/private key pair for SSH authentication. It is also possible to connect to the remote Docker engine directly using SSH tunneling, which you can read more about below.

You may review the steps in the remote development documentation. You can use the Remote - SSH and Dev Containers extensions together. We recommend using the Visual Studio Code Remote - SSH extension to connect to a remote machine running Docker engine.

Configure IntelliSense for cross-compiling.
