Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote SSH windows does not open when using local server #1269

Closed
sandy081 opened this issue Aug 27, 2019 · 2 comments
Closed

Remote SSH windows does not open when using local server #1269

sandy081 opened this issue Aug 27, 2019 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug ssh Issue in vscode-remote SSH verified Verification succeeded
Milestone

Comments

@sandy081
Copy link
Member

Testing #1255

Set "remote.SSH.useLocalServer": true and follow the steps.

🐛 Remote SSH window does not open.

Here are logs

@roblourens
Copy link
Member

Logs:

[10:41:03.416] remote-ssh-nightly@2019.8.37762
[10:41:03.416] darwin x64
[10:41:03.417] SSH Resolver called for "ssh-remote+robvm", attempt 1
[10:41:03.417] SSH Resolver called for host: robvm
[10:41:03.417] Setting up SSH remote "robvm"
[10:41:03.422] Acquiring local install lock: /var/folders/lh/w9yr62rn2tzdm6bnc2t3fhm80000gn/T/vscode-remote-ssh-robvm-install.lock
[10:41:59.823] Looking for existing server data file at /Users/sandy081/Library/Application Support/Code - Insiders/User/globalStorage/ms-vscode-remote.remote-ssh-nightly/vscode-ssh-host-robvm-8cd00a7935eabef4aad0b0130b1d46daca0a47aa/data.json
[10:41:59.823] Using commit id "8cd00a7935eabef4aad0b0130b1d46daca0a47aa" and quality "insider" for server
[10:41:59.827] Testing ssh with ssh -V
[10:41:59.846] ssh exited with code: 0
[10:41:59.846] Got stderr from ssh: OpenSSH_7.9p1, LibreSSL 2.7.3
[10:41:59.846] Running script with connection command: ssh -D 64656 -o ConnectTimeout=15 robvm bash
[10:41:59.846] Install and start server if needed
[10:41:59.847] askpass server listening on /var/folders/lh/w9yr62rn2tzdm6bnc2t3fhm80000gn/T/vscode-ssh-askpass-e66d8ecf528566fd0b10f18c98ec5c4d79f922f9.sock
[10:41:59.848] Spawning local server with {"ipcHandlePath":"/var/folders/lh/w9yr62rn2tzdm6bnc2t3fhm80000gn/T/vscode-ssh-askpass-3c470856631796f9e85c920a13f0a850a12d6d0f.sock","sshCommand":"ssh","sshArgs":["robvm","-D","64656","bash"],"dataFilePath":"/Users/sandy081/Library/Application Support/Code - Insiders/User/globalStorage/ms-vscode-remote.remote-ssh-nightly/vscode-ssh-host-robvm-8cd00a7935eabef4aad0b0130b1d46daca0a47aa/data.json"}
[10:41:59.848] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/sandy081/.vscode-insiders/extensions/ms-vscode-remote.remote-ssh-nightly-2019.8.37762/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper.app/Contents/MacOS/Code - Insiders Helper","VSCODE_SSH_ASKPASS_MAIN":"/Users/sandy081/.vscode-insiders/extensions/ms-vscode-remote.remote-ssh-nightly-2019.8.37762/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/lh/w9yr62rn2tzdm6bnc2t3fhm80000gn/T/vscode-ssh-askpass-e66d8ecf528566fd0b10f18c98ec5c4d79f922f9.sock"}
[10:41:59.850] Spawned 25213
[10:41:59.945] > Spawned 25214
> 
[10:41:59.945] Got some output, clearing connection timeout
[10:42:01.330] stderr: ssh_askpass: exec(/Users/sandy081/.vscode-insiders/extensions/ms-vscode-remote.remote-ssh-nightly-2019.8.37762/out/local-server/askpass.sh): Permission denied

[10:42:01.487] stderr: Permission denied, please try again.

[10:42:01.487] stderr: ssh_askpass: exec(/Users/sandy081/.vscode-insiders/extensions/ms-vscode-remote.remote-ssh-nightly-2019.8.37762/out/local-server/askpass.sh): Permission denied

[10:42:01.645] stderr: Permission denied, please try again.

[10:42:01.646] stderr: ssh_askpass: exec(/Users/sandy081/.vscode-insiders/extensions/ms-vscode-remote.remote-ssh-nightly-2019.8.37762/out/local-server/askpass.sh): Permission denied

[10:42:01.805] stderr: roblou@52.247.215.15: Permission denied (publickey,password).

[10:42:01.808] > ssh child died, shutting down

@roblourens
Copy link
Member

roblourens commented Aug 27, 2019

Ah crap I guess the script needs to be chmod'd in the build, somehow this worked before...

@roblourens roblourens added bug Issue identified by VS Code Team member as probable bug ssh Issue in vscode-remote SSH labels Aug 28, 2019
@roblourens roblourens added this to the August 2019 milestone Aug 28, 2019
@sandy081 sandy081 added the verified Verification succeeded label Aug 29, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug ssh Issue in vscode-remote SSH verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants