Connecting to a Google Cloud VM Behind IAP From a Windows Machine Using a *nix/WSL Development Machine
Establishing an SSH connection transparently is useful for connecting to a Google Cloud VM using the ms-vscode-remote.remote-ssh
(Remote - SSH) extension in VSCode, for example, allowing us to avoid manual port-forwarding or setting up a dedicated tunnel.
- An SSH agent must be running on the on the client machine. On Windows, enable and start the OpenSSH Authentication Agent service.