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 Bug]: Always have to Kill VS Code Server on Host multiple times to make it possible to connect #10388

Open
3 tasks done
zarif98 opened this issue Oct 15, 2024 · 6 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@zarif98
Copy link

zarif98 commented Oct 15, 2024

Is there an existing issue for this bug?

  • I have searched the existing issues

Required Troubleshooting Steps

  • I have followed these troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It connects successfully

->

I have to Remote-SSH: Kill VS Code Server on Host... multiple times for my remote-ssh to connect. I use my laptop and my desktop for development and I have to remove it on both machines before I am able to connect again. I am using Stanford's Myth machines to do my development and it has been a huge annoyance trying to do any remote development on my machine. Are there any solutions that could be provided for this issue?

I am able to use regular terminal to connect just fine but Visual Studio code seems to crap out very fast.

Expected Behavior

Should just connect freely without me having to VS Code server on host everytime.

Steps To Reproduce

No response

Remote-SSH Log

Remote-SSH Log

[18:51:23.203] Install and start server if needed
[18:51:23.205] Checking ssh with "C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe -V"
[18:51:23.207] Got error from ssh: spawn C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[18:51:23.207] Checking ssh with "C:\Program Files\Eclipse Adoptium\jdk-17.0.5.8-hotspot\bin\ssh.exe -V"
[18:51:23.208] Got error from ssh: spawn C:\Program Files\Eclipse Adoptium\jdk-17.0.5.8-hotspot\bin\ssh.exe ENOENT
[18:51:23.208] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[18:51:23.208] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[18:51:23.208] Checking ssh with "C:\Windows\ssh.exe -V"
[18:51:23.209] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[18:51:23.209] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[18:51:23.210] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[18:51:23.210] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[18:51:23.211] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[18:51:23.211] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[18:51:23.231] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[18:51:23.233] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 61514 "myth.stanford.edu" sh
[18:51:23.234] Generated SSH command: 'type "C:\Users\zarif\AppData\Local\Temp\vscode-linux-multi-line-command-myth.stanford.edu-312500617.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 61514 "myth.stanford.edu" sh'
[18:51:23.234] Using connect timeout of 17 seconds
[18:51:23.234] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[18:51:23.756] > ([email protected]) Password:�]0;C:\WINDOWS\System32\cmd.exe�
[18:51:23.756] Got some output, clearing connection timeout
[18:51:23.757] Showing password prompt
[18:51:30.283] Got password response
[18:51:30.283] "install" wrote data to terminal: "*************"
[18:51:30.319] > 
[18:51:31.008] > 0f310380e025: running
> Script executing under PID: 1179047
[18:51:31.024] > Installing to /afs/.ir/users/z/a/zarif98/.vscode-server...
> 0f310380e025%%1%%
> Downloading with wget
> wget is from busybox: no
> Program 'wget' appears to support flag '--no-config'
[18:51:31.672] > Download complete
> 0f310380e025%%2%%
[18:51:31.688] > tar --version: tar (GNU tar) 1.30
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.Written by John Gilmore and Jay Fenlason.
> 
[18:51:32.574] > code 1.94.2 (commit 384ff7382de624fb94dbaf6da11977bba1ecd427)
> Starting VS Code CLI...
> printenv:
>     LANGUAGE=en_US:
>     USER=zarif98
>     SSH_CLIENT=76.14.121.97 61515 22
>     XDG_SESSION_TYPE=tty
>     TEMPDIR=/tmp/user/462369
>     SHLVL=0
>     HOME=/afs/.ir/users/z/a/zarif98
>     OLDPWD=/afs/.ir/users/z/a/zarif98/.vscode-server
>     TMPDIR=/tmp/user/462369
>     LOGNAME=zarif98
>     TEMP=/tmp/user/462369
>     _=/usr/bin/sh
>     XDG_SESSION_CLASS=user
>     XDG_SESSION_ID=7806
>     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> s:/usr/local/games:/snap/bin
>     XDG_RUNTIME_DIR=/run/user/462369
>     LANG=en_US.UTF-8
>     TMP=/tmp/user/462369
>     SHELL=/bin/bash
>     KRB5CCNAME=FILE:/tmp/krb5cc_462369_qBiGSn
>     PWD=/afs/.ir.stanford.edu/users/z/a/zarif98
>     SSH_CONNECTION=76.14.121.97 61515 171.64.15.30 22
> Spawned remote CLI: 1179101
> cat: /afs/.ir/users/z/a/zarif98/.vscode-server/.cli.384ff7382de624fb94dbaf6da119
> 977bba1ecd427.log: No such file or directory
> Waiting for server log...
[18:51:32.589] > 
[18:51:32.604] > 0f310380e025: start
> listeningOn==127.0.0.1:35757==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/462369==
> platform==linux==
> unpackResult==success==
> didLocalDownload==0==
> downloadTime==653==
> installTime==887==
> serverStartTime==34==
> execServerToken==111a1111-a1aa-1aa1-1a11-a1aa1a11a111==
> platformDownloadPath==cli-alpine-x64==
> 0f310380e025: end
[18:51:32.604] Received install output: 
listeningOn==127.0.0.1:35757==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/462369==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==653==
installTime==887==
serverStartTime==34==
execServerToken==111a1111-a1aa-1aa1-1a11-a1aa1a11a111==
platformDownloadPath==cli-alpine-x64==

[18:51:32.604] Remote server is listening on port 35757
[18:51:32.604] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":35757},"osReleaseId":"ubuntu","arch":"x86_64","tmpDir":"/run/user/462369","platform":"linux","execServerToken":"111a1111-a1aa-1aa1-1a11-a1aa1a11a111"},"downloadTime":653,"installTime":887,"serverStartTime":34,"installUnpackCode":"success"}
[18:51:32.607] Starting forwarding server. local port 61520 -> socksPort 61514 -> remotePort 35757
[18:51:32.607] Forwarding server listening on port 61520
[18:51:32.608] Waiting for ssh tunnel to be ready
[18:51:32.608] [Forwarding server port 61520] Got connection 0
[18:51:32.609] Tunneled port 35757 to local port 61520
[18:51:32.609] Resolved "ssh-remote+myth.stanford.edu" to "port 61520"
[18:51:32.615] Initizing new exec server for ssh-remote+myth.stanford.edu
[18:51:32.615] Resolving exec server at port 61520
[18:51:32.617] [Forwarding server port 61520] Got connection 1
[18:51:32.636] > 
[18:51:32.687] Exec server for ssh-remote+myth.stanford.edu created and cached
[18:51:32.691] ------

Anything else?

No response

@zarif98 zarif98 added the ssh Issue in vscode-remote SSH label Oct 15, 2024
@cheesechoi
Copy link

+1

@nimashoghi
Copy link

I also have a similar issue. For me, setting remote.SSH.useExecServer (true by default) to false fixes things for now.

@joshspicer
Copy link
Member

Thanks for opening an issue - @zarif98 mind appending your entire log, looks like it got a bit truncated (specifically the top which shows what VS Code settings are configured)

@zarif98
Copy link
Author

zarif98 commented Oct 15, 2024

Is this more helpful? A lot of stuff gets logged so not sure where the start and end is:

`[11:34:29.804] Log Level: 2
[11:34:29.811] VS Code version: 1.75.1
[11:34:29.811] Remote-SSH version: [email protected]
[11:34:29.811] darwin arm64
[11:34:29.811] SSH Resolver called for "ssh-remote+myth.stanford.edu", attempt 1
[11:34:29.812] "remote.SSH.useLocalServer": true
[11:34:29.812] "remote.SSH.path": undefined
[11:34:29.812] "remote.SSH.configFile": undefined
[11:34:29.812] "remote.SSH.useFlock": true
[11:34:29.812] "remote.SSH.lockfilesInTmp": false
[11:34:29.812] "remote.SSH.localServerDownload": auto
[11:34:29.812] "remote.SSH.remoteServerListenOnSocket": false
[11:34:29.812] "remote.SSH.showLoginTerminal": false
[11:34:29.812] "remote.SSH.defaultExtensions": []
[11:34:29.812] "remote.SSH.loglevel": 2
[11:34:29.812] "remote.SSH.enableDynamicForwarding": true
[11:34:29.812] "remote.SSH.enableRemoteCommand": false
[11:34:29.812] "remote.SSH.serverPickPortsFromRange": {}
[11:34:29.813] "remote.SSH.serverInstallPath": {}
[11:34:29.815] SSH Resolver called for host: myth.stanford.edu
[11:34:29.815] Setting up SSH remote "myth.stanford.edu"
[11:34:29.817] Acquiring local install lock: /var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-remote-ssh-7a46dea4-install.lock
[11:34:29.818] Looking for existing server data file at /Users/Zarif/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7a46dea4-441438abd1ac652551dbe4d408dfcec8a499b8bf-0.102.0/data.json
[11:34:29.818] Using commit id "441438abd1ac652551dbe4d408dfcec8a499b8bf" and quality "stable" for server
[11:34:29.821] Install and start server if needed
[11:34:29.823] PATH: /opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
[11:34:29.823] Checking ssh with "ssh -V"
[11:34:29.829] > OpenSSH_9.8p1, LibreSSL 3.3.6

[11:34:29.830] askpass server listening on /var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-8b7c118586b6bf597f94add50df080343140ba3b.sock
[11:34:29.831] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-1360f7fd48a56b4b6312053d466704c8c43f6d8e.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","51995","-o","ConnectTimeout=15","myth.stanford.edu"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/Zarif/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7a46dea4-441438abd1ac652551dbe4d408dfcec8a499b8bf-0.102.0/data.json"}
[11:34:29.831] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.fRDejBaeG1/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/Zarif/.vscode/extensions/ms-vscode-remote.remote-ssh-0.102.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/private/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/AppTranslocation/D34D4337-7536-404D-AF5A-5EE5D73089D9/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/Zarif/.vscode/extensions/ms-vscode-remote.remote-ssh-0.102.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-8b7c118586b6bf597f94add50df080343140ba3b.sock"}
[11:34:29.831] Spawned 55261
[11:34:29.893] > local-server-1> Running ssh connection command: "-v -T -D 51995 -o ConnectTimeout=15 myth.stanford.edu"
[11:34:29.895] > local-server-1> Spawned ssh, pid=55267
[11:34:29.899] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[11:34:30.780] stderr> debug1: Server host key: ssh-ed25519 SHA256:RdBnkDlDbXIG0Q4pvyMFfZs1KZojUeBQBoxQwraxr2U
[11:34:31.051] Got askpass request: {"request":"([email protected]) Password:"}
[11:34:31.051] Showing password prompt
[11:34:31.052] Listening for interwindow password on /var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-85fcaa25a283b9be69d98dc67e4d8f666c257f6f.sock
[11:34:31.052] Writing password prompt to globalState
[11:34:34.545] Got password response
[11:34:34.545] Interactor gave response: *************
[11:34:34.546] Cleaning up other-window auth server
[11:34:34.873] stderr> Authenticated to myth.stanford.edu ([2607:7700:0:2e:0:1:ab40:f10]:22) using "keyboard-interactive".
[11:34:35.514] > ready: 5eb3d9d99156
[11:34:35.552] > Linux 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024
[11:34:35.553] Platform: linux
[11:34:35.596] > /bin/bash
[11:34:35.596] Shell: bash
[11:34:35.596] Creating bash subshell inside "bash"
[11:34:35.639] > bash version: 5.0.17(1)-release
[11:34:35.818] > 5eb3d9d99156: running

Acquiring lock on /afs/.ir/users/z/a/zarif98/.vscode-server/bin/441438abd1ac652551dbe4d408dfcec8a499b8bf/vscode-remote-lock.zarif98.441438abd1ac652551dbe4d408dfcec8a499b8bf
Installation already in progress...
If you continue to see this message, you can try toggling the remote.SSH.useFlock setting
5eb3d9d99156: start
exitCode==24==
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
[11:34:35.864] > tmpDir==/run/user/462369==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
5eb3d9d99156: end
[11:34:35.868] Received install output:
exitCode==24==
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==tmpDir==/run/user/462369==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====

[11:34:35.869] Server installation process already in progress - waiting and retrying
[11:34:35.869] Terminating local server
[11:34:35.873] Local server exit: 15
[11:34:36.882] askpass server listening on /var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-6f7a5168c93ea3808cdfef75deb59ee2aa10d345.sock
[11:34:36.882] Spawning local server with {"serverId":2,"ipcHandlePath":"/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-77f23ce76c6a591721adbc4285f40af606147303.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","51995","-o","ConnectTimeout=15","myth.stanford.edu"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/Zarif/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7a46dea4-441438abd1ac652551dbe4d408dfcec8a499b8bf-0.102.0/data.json"}
[11:34:36.882] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.fRDejBaeG1/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/Zarif/.vscode/extensions/ms-vscode-remote.remote-ssh-0.102.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/private/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/AppTranslocation/D34D4337-7536-404D-AF5A-5EE5D73089D9/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/Zarif/.vscode/extensions/ms-vscode-remote.remote-ssh-0.102.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-6f7a5168c93ea3808cdfef75deb59ee2aa10d345.sock"}
[11:34:36.883] Spawned 55275
[11:34:36.950] > local-server-2> Running ssh connection command: "-v -T -D 51995 -o ConnectTimeout=15 myth.stanford.edu"
[11:34:36.951] > local-server-2> Spawned ssh, pid=55281
[11:34:36.955] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[11:34:37.137] stderr> debug1: Server host key: ssh-ed25519 SHA256:RdBnkDlDbXIG0Q4pvyMFfZs1KZojUeBQBoxQwraxr2U
[11:34:37.369] Got askpass request: {"request":"([email protected]) Password:"}
[11:34:37.369] Showing password prompt
[11:34:37.369] Listening for interwindow password on /var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-ce77f86db66e51aee0ad3de1136e46897be3469f.sock
[11:34:37.369] Writing password prompt to globalState
[11:34:43.688] Got password response
[11:34:43.688] Interactor gave response: *************
[11:34:43.689] Cleaning up other-window auth server
[11:34:43.999] stderr> Authenticated to myth.stanford.edu ([2607:7700:0:2e:0:1:ab40:f10]:22) using "keyboard-interactive".
[11:34:44.233] > ready: 5eb3d9d99156
[11:34:44.266] > Linux 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024
[11:34:44.266] Platform: linux
[11:34:44.366] > /bin/bash
[11:34:44.367] Shell: bash
[11:34:44.368] Creating bash subshell inside "bash"
[11:34:44.403] > bash version: 5.0.17(1)-release
[11:34:44.583] > 5eb3d9d99156: running
[11:34:44.606] > Acquiring lock on /afs/.ir/users/z/a/zarif98/.vscode-server/bin/441438abd1ac652551dbe4d408dfcec8a499b8bf/vscode-remote-lock.zarif98.441438abd1ac652551dbe4d408dfcec8a499b8bf
[11:34:44.608] > Installation already in progress...

If you continue to see this message, you can try toggling the remote.SSH.useFlock setting
5eb3d9d99156: start
exitCode==24==
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/462369==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
5eb3d9d99156: end
[11:34:44.608] Received install output:
exitCode==24==
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/462369==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====

[11:34:44.609] Server installation process already in progress - waiting and retrying
[11:34:44.609] Terminating local server
[11:34:44.612] Local server exit: 15
[11:34:45.620] askpass server listening on /var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-34bb4e7b6d84aa23999ad5ff9248a2ba5b45ce85.sock
[11:34:45.620] Spawning local server with {"serverId":3,"ipcHandlePath":"/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-8ad00187ea48d486925765f63abb7c302a4cedf0.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","51995","-o","ConnectTimeout=15","myth.stanford.edu"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/Zarif/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7a46dea4-441438abd1ac652551dbe4d408dfcec8a499b8bf-0.102.0/data.json"}
[11:34:45.620] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.fRDejBaeG1/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/Zarif/.vscode/extensions/ms-vscode-remote.remote-ssh-0.102.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/private/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/AppTranslocation/D34D4337-7536-404D-AF5A-5EE5D73089D9/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/Zarif/.vscode/extensions/ms-vscode-remote.remote-ssh-0.102.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-34bb4e7b6d84aa23999ad5ff9248a2ba5b45ce85.sock"}
[11:34:45.621] Spawned 55287
[11:34:45.683] > local-server-3> Running ssh connection command: "-v -T -D 51995 -o ConnectTimeout=15 myth.stanford.edu"
[11:34:45.685] > local-server-3> Spawned ssh, pid=55293
[11:34:45.689] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[11:34:45.865] stderr> debug1: Server host key: ssh-ed25519 SHA256:RdBnkDlDbXIG0Q4pvyMFfZs1KZojUeBQBoxQwraxr2U
[11:34:46.120] Got askpass request: {"request":"([email protected]) Password:"}
[11:34:46.121] Showing password prompt
[11:34:46.121] Listening for interwindow password on /var/folders/cr/gpy6y2qn4796nz3_t7rr_0yc0000gn/T/vscode-ssh-askpass-7a8aab51972e2fbf8d91c73fcd1c552d302bb3c4.sock
[11:34:46.121] Writing password prompt to globalState`

@zarif98
Copy link
Author

zarif98 commented Oct 16, 2024

I also have a similar issue. For me, setting remote.SSH.useExecServer (true by default) to false fixes things for now.

Tried it for the first time and it seems to work! Which is great. Wonder what the differences are?

@zarif98
Copy link
Author

zarif98 commented Oct 16, 2024

I also have a similar issue. For me, setting remote.SSH.useExecServer (true by default) to false fixes things for now.

Tried it for the first time and it seems to work! Which is great. Wonder what the differences are?

Actually never mind, immediately failed the second time around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

5 participants