Issue
I am trying to use remote-ssh with VS Code. However, I got this remote-ssh log:
[11:37:47.034] Log Level: 3
[11:37:47.037] [email protected]
[11:37:47.037] linux x64
[11:37:47.040] SSH Resolver called for "ssh-remote+gochin_dev", attempt 1
[11:37:47.040] SSH Resolver called for host: gochin_dev
[11:37:47.041] Setting up SSH remote "gochin_dev"
[11:37:47.052] Using commit id "fd13e449f5f2fe300f187129d6065ed1cfad74d3" and quality "insider" for server
[11:37:47.054] Install and start server if needed
[11:37:47.062] Checking ssh with "ssh -V"
[11:37:47.085] > OpenSSH_8.2p1, OpenSSL 1.1.1d 10 Sep 2019
[11:37:47.097] Using SSH config file "/home/min/.ssh/gochin_dev"
[11:37:47.097] Running script with connection command: ssh -T -D 39655 -o ConnectTimeout=15 -F /home/min/.ssh/gochin_dev gochin_dev bash
[11:37:48.550] > e9c54b699fa3: running
[11:37:48.551] Got some output, clearing connection timeout
[11:37:48.615] > Acquiring lock on /home/ec2-user/.vscode-server-oss/bin/fd13e449f5f2fe300f187129d6065ed1cfad74d3/vscode-remote-lock.ec2-user.fd13e449f5f2fe300f187129d6065ed1cfad74d3
Found existing installation at /home/ec2-user/.vscode-server-oss/bin/fd13e449f5f2fe300f187129d6065ed1cfad74d3...
[11:37:48.676] > Found running server...
Reminder: You may only use this software with Visual Studio family products,
as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
[11:37:48.734] > Checking server status on port 42183 with wget
[11:37:48.798] > e9c54b699fa3: start
sshAuthSock====
agentPort==42183==
osReleaseId==amzn==
arch==x86_64==
webUiAccessToken====
tmpDir==/run/user/1000==
e9c54b699fa3: end
[11:37:48.799] Received install output:
sshAuthSock====
agentPort==42183==
osReleaseId==amzn==
arch==x86_64==
webUiAccessToken====
tmpDir==/run/user/1000==
[11:37:48.804] Remote server is listening on port 42183
[11:37:48.805] Parsed server configuration: {"agentPort":42183,"osReleaseId":"amzn","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","tmpDir":"/run/user/1000"}
[11:37:48.812] Starting forwarding server. localPort 44563 -> socksPort 39655 -> remotePort 42183
[11:37:48.813] Forwarding server listening on 44563
[11:37:48.814] Waiting for ssh tunnel to be ready
[11:37:48.818] [Forwarding server 44563] Got connection 0
[11:37:48.827] Tunneled remote port 42183 to local port 44563
[11:37:48.828] Resolved "ssh-remote+gochin_dev" to "127.0.0.1:44563"
[11:37:48.885] ------
[11:37:48.938] [Forwarding server 44563] Got connection 1
[11:37:48.939] [Forwarding server 44563] Got connection 2
I am using this configuration:
- OS: Linux x64 5.4.22-1-MANJARO
- VS Code version: 1.42.1
- Node.js version: 12.4.0
- Electron version: 6.1.7
Solution
Same problem here. You have to use the VSCode package from Microsoft and not the one from your distribution. The package from Manjaro installs VSCode OSS and the SSH extension doesn't seems to like that. Try with the visual-studio-code-bin package from AUR.
Answered By - Gu1ll0me Answer Checked By - Marilyn (WPSolving Volunteer)