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

Log-in #10696

Closed
RoyalOfficial opened this issue Feb 12, 2025 · 9 comments
Closed

Log-in #10696

RoyalOfficial opened this issue Feb 12, 2025 · 9 comments
Assignees
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@RoyalOfficial
Copy link

Type: Bug

I am trying to log in with my password which i know is correct and log in keeps failing

Extension version: 0.117.1
VS Code version: Code 1.97.1 (e249dada235c2083c83813bd65b7f4707fb97b76, 2025-02-10T13:13:58.153Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13700H (20 x 2918)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.68GB (5.14GB free)
Process Argv --crash-reporter-id 7b2df76d-9680-4d6b-a540-a9565f1ccb31
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551cf:31179979
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31233690
hdaa2157:31222309
copilot_t_ci:31222730
jda6j935:31233686

@vs-code-engineering vs-code-engineering bot added the ssh Issue in vscode-remote SSH label Feb 12, 2025
@joshspicer
Copy link
Member

joshspicer commented Feb 12, 2025

Can you please provide your Remote SSH log and share any relevant SSH configuration? Details on how to do so can be found in this issue template

Does your issue reproduce on earlier versions of the extension (0.116.1 or 0.117.0)?

@joshspicer joshspicer added the info-needed Issue requires more information from poster label Feb 12, 2025
@RoyalOfficial
Copy link
Author

reverted to previous version from yesterdays update and it fixed it

@joshspicer
Copy link
Member

joshspicer commented Feb 12, 2025

If you're able to consistently reproduce on the newest version, we would appreciate seeing logs and your config to understand if this is something we need to fix 🙂

This was the major change between 0.117.0 and 0.117.1: #10684

@RoyalOfficial
Copy link
Author

I even set up ssh keys and that also stopped working and prompted me for the log in with not accepting my password.
Only steps to reproduce this is trying to connect to my ssh on version 0.117.1, version 0.117.0 is fine.
[16:41:34.777] Log Level: 2
[16:41:34.807] SSH Resolver called for "[email protected]", attempt 1
[16:41:34.812] remote.SSH.useLocalServer = false
[16:41:34.812] remote.SSH.useExecServer = true
[16:41:34.813] remote.SSH.bindHost = {}
[16:41:34.813] remote.SSH.showLoginTerminal = false
[16:41:34.813] remote.SSH.remotePlatform = {"gle-3159-ws29.nx.rit.edu":"linux","[email protected]":"linux"}
[16:41:34.813] remote.SSH.path =
[16:41:34.813] remote.SSH.configFile =
[16:41:34.814] remote.SSH.useFlock = true
[16:41:34.814] remote.SSH.lockfilesInTmp = false
[16:41:34.814] remote.SSH.localServerDownload = auto
[16:41:34.814] remote.SSH.remoteServerListenOnSocket = false
[16:41:34.814] remote.SSH.defaultExtensions = []
[16:41:34.814] remote.SSH.defaultExtensionsIfInstalledLocally = []
[16:41:34.815] remote.SSH.loglevel = 2
[16:41:34.815] remote.SSH.enableDynamicForwarding = true
[16:41:34.815] remote.SSH.enableRemoteCommand = false
[16:41:34.815] remote.SSH.serverPickPortsFromRange = {}
[16:41:34.815] remote.SSH.serverInstallPath = {}
[16:41:34.816] remote.SSH.permitPtyAllocation = false
[16:41:34.816] remote.SSH.preferredLocalPortRange = undefined
[16:41:34.816] remote.SSH.useCurlAndWgetConfigurationFiles = false
[16:41:34.816] remote.SSH.experimental.chat = true
[16:41:34.816] remote.SSH.experimental.enhancedSessionLogs = true
[16:41:34.826] VS Code version: 1.97.1
[16:41:34.827] Remote-SSH version: [email protected]
[16:41:34.827] win32 x64
[16:41:34.830] SSH Resolver called for host: ppp7297@[email protected]
[16:41:34.830] Setting up SSH remote "[email protected]"
[16:41:34.839] Using commit id "e249dada235c2083c83813bd65b7f4707fb97b76" and quality "stable" for server
[16:41:34.839] Extensions to install:
[16:41:34.846] Install and start server if needed
[16:41:34.851] Checking ssh with "C:\Python313\Scripts\ssh.exe -V"
[16:41:34.853] Got error from ssh: spawn C:\Python313\Scripts\ssh.exe ENOENT
[16:41:34.854] Checking ssh with "C:\Python313\ssh.exe -V"
[16:41:34.854] Got error from ssh: spawn C:\Python313\ssh.exe ENOENT
[16:41:34.855] Checking ssh with "C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe -V"
[16:41:34.855] Got error from ssh: spawn C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[16:41:34.856] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\java8path\ssh.exe -V"
[16:41:34.856] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\java8path\ssh.exe ENOENT
[16:41:34.856] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe -V"
[16:41:34.857] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[16:41:34.857] Checking ssh with "C:\Program Files (x86)\VMware\VMware Player\bin\ssh.exe -V"
[16:41:34.858] Got error from ssh: spawn C:\Program Files (x86)\VMware\VMware Player\bin\ssh.exe ENOENT
[16:41:34.858] Checking ssh with "C:\Program Files\BellSoft\LibericaJDK-21-Full\bin\ssh.exe -V"
[16:41:34.859] Got error from ssh: spawn C:\Program Files\BellSoft\LibericaJDK-21-Full\bin\ssh.exe ENOENT
[16:41:34.859] Checking ssh with "C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin\ssh.exe -V"
[16:41:34.860] Got error from ssh: spawn C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin\ssh.exe ENOENT
[16:41:34.860] Checking ssh with "C:\Program Files\Zulu\zulu-21\bin\ssh.exe -V"
[16:41:34.861] Got error from ssh: spawn C:\Program Files\Zulu\zulu-21\bin\ssh.exe ENOENT
[16:41:34.861] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[16:41:34.862] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[16:41:34.862] Checking ssh with "C:\Windows\ssh.exe -V"
[16:41:34.862] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[16:41:34.862] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[16:41:34.863] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[16:41:34.863] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[16:41:34.864] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[16:41:34.864] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[16:41:34.888] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[16:41:34.891] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 65523 "ppp7297@[email protected]" sh
[16:41:34.892] Generated SSH command: 'type "C:\Users\ppani\AppData\Local\Temp\vscode-linux-multi-line-command-ppp7297-gle-3159-ws29.nx.rit.edu-488652610.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 65523 "ppp7297@[email protected]" sh'
[16:41:34.893] Using connect timeout of 17 seconds
[16:41:34.894] Terminal shell path: C:\Windows\System32\cmd.exe
[16:41:35.319] > RIT information technology resources are for the use of authorized

users only. By using these resources, you acknowledge that you have
read and comply with RIT's Code of Conduct for Computer and Network
Use and RIT's Information Security Policy and Standards.Use of this computer system is subject to monitoring and recording by
system personnel. Anyone using this system expressly consents to such
monitoring and recording. Any evidence of criminal activity or
violation of policy may be provided to the appropriate officials
and/or law enforcement.
ppp7297@[email protected]'s password:
[16:41:35.321] Got some output, clearing connection timeout
[16:41:35.323] Showing password prompt
[16:41:42.511] Got password response
[16:41:42.511] "install" wrote data to terminal: ""
[16:41:42.564] >
[16:41:44.465] > Permission denied, please try again.
ppp7297@[email protected]'s password:
[16:41:44.466] Showing password prompt
[16:41:54.692] Got password response
[16:41:54.692] "install" wrote data to terminal: "
"
[16:41:54.742] >
[16:41:56.620] > Permission denied, please try again.
ppp7297@[email protected]'s password:
[16:41:56.621] Showing password prompt
[16:42:14.598] Got password response
[16:42:14.598] "install" wrote data to terminal: "************"
[16:42:14.640] >
[16:42:16.619] > ppp7297@[email protected]: Permission denied (publickey,password).
The process tried to write to a nonexistent pipe.
[16:42:17.886] "install" terminal command done
[16:42:17.887] Install terminal quit with output: ppp7297@[email protected]: Permission denied (publickey,password).
[16:42:17.887] Received install output: ppp7297@[email protected]: Permission denied (publickey,password).
[16:42:17.888] WARN: $PLATFORM is undefined in installation script output. Errors may be dropped.
[16:42:17.892] Resolver error: Error: Permission denied (publickey,password).
at y.Create (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:739050)
at c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:735967
at t.handleInstallOutput (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:737053)
at t.tryInstall (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:854138)
at async c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:812962
at async t.withShowDetailsEvent (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:816213)
at async R (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:809499)
at async t.resolve (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:813614)
at async c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:1099250
[16:42:17.909] ------

[16:42:17.910] ---------- [Session Summary] -----------
[16:42:17.910] [PermissionDenied]: Error: PermissionDenied (Permission denied (publickey,password).)
[16:42:17.910] ----------------------------------------
[16:42:18.371] Opening exec server for [email protected]
[16:42:18.405] Initizing new exec server for [email protected]
[16:42:18.406] Using commit id "e249dada235c2083c83813bd65b7f4707fb97b76" and quality "stable" for server
[16:42:18.406] Extensions to install:
[16:42:18.436] Install and start server if needed
[16:42:18.438] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 65523 "ppp7297@[email protected]" sh
[16:42:18.440] Generated SSH command: 'type "C:\Users\ppani\AppData\Local\Temp\vscode-linux-multi-line-command-ppp7297-gle-3159-ws29.nx.rit.edu-739392301.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 65523 "ppp7297@[email protected]" sh'
[16:42:18.440] Using connect timeout of 17 seconds
[16:42:18.440] Terminal shell path: C:\Windows\System32\cmd.exe
[16:42:18.883] > RIT information technology resources are for the use of authorized

users only. By using these resources, you acknowledge that you have
read and comply with RIT's Code of Conduct for Computer and Network
Use and RIT's Information Security Policy and Standards.Use of this computer system is subject to monitoring and recording by
system personnel. Anyone using this system expressly consents to such
monitoring and recording. Any evidence of criminal activity or
violation of policy may be provided to the appropriate officials
and/or law enforcement.
ppp7297@[email protected]'s password:
[16:42:18.883] Got some output, clearing connection timeout
[16:42:18.884] Showing password prompt
[16:42:24.354] Password dialog canceled
[16:42:24.354] "install" terminal command canceled
[16:42:24.354] Exec server for [email protected] failed: Error: Connecting was canceled
[16:42:24.354] Error opening exec server for [email protected]: Error: Connecting was canceled
[16:42:24.355] ---------- [Session Summary] -----------
[16:42:24.355] [PermissionDenied]: Error: PermissionDenied (Permission denied (publickey,password).)
[16:42:24.355] ----------------------------------------
Config file:
Host [email protected]
HostName [email protected]
User ppp7297
Port 22
PreferredAuthentications publickey
IdentityFile "C:/Users/ppani/.ssh/keys/[email protected]_rsa"

@joshspicer
Copy link
Member

joshspicer commented Feb 12, 2025

Thank you for getting back to me!

I believe you can get the latest version to work by updating HostName here to not include the <user>@

Host [email protected]
   HostName gle-3159-ws29.nx.rit.edu   # Update this line
   User ppp7297
   Port 22
   PreferredAuthentications publickey
   IdentityFile "C:/Users/ppani/.ssh/keys/[email protected]_rsa

Looks like we were ignoring this before and now the extension is more "correct", which broke your flow.

@RoyalOfficial
Copy link
Author

I updated it and the same problem persists on the newer version but, it didn't break the old version.
Host [email protected]
HostName gle-3159-ws29.nx.rit.edu
User ppp7297
Port 22
PreferredAuthentications publickey
IdentityFile "C:/Users/ppani/.ssh/keys/[email protected]_rsa"
[17:03:58.420] Log Level: 2
[17:03:58.444] SSH Resolver called for "[email protected]", attempt 1
[17:03:58.449] remote.SSH.useLocalServer = false
[17:03:58.449] remote.SSH.useExecServer = true
[17:03:58.449] remote.SSH.bindHost = {}
[17:03:58.449] remote.SSH.showLoginTerminal = false
[17:03:58.449] remote.SSH.remotePlatform = {"gle-3159-ws29.nx.rit.edu":"linux","[email protected]":"linux"}
[17:03:58.449] remote.SSH.path =
[17:03:58.450] remote.SSH.configFile =
[17:03:58.450] remote.SSH.useFlock = true
[17:03:58.450] remote.SSH.lockfilesInTmp = false
[17:03:58.450] remote.SSH.localServerDownload = auto
[17:03:58.450] remote.SSH.remoteServerListenOnSocket = false
[17:03:58.450] remote.SSH.defaultExtensions = []
[17:03:58.450] remote.SSH.defaultExtensionsIfInstalledLocally = []
[17:03:58.450] remote.SSH.loglevel = 2
[17:03:58.451] remote.SSH.enableDynamicForwarding = true
[17:03:58.451] remote.SSH.enableRemoteCommand = false
[17:03:58.451] remote.SSH.serverPickPortsFromRange = {}
[17:03:58.451] remote.SSH.serverInstallPath = {}
[17:03:58.451] remote.SSH.permitPtyAllocation = false
[17:03:58.451] remote.SSH.preferredLocalPortRange = undefined
[17:03:58.451] remote.SSH.useCurlAndWgetConfigurationFiles = false
[17:03:58.454] remote.SSH.experimental.chat = true
[17:03:58.454] remote.SSH.experimental.enhancedSessionLogs = true
[17:03:58.461] VS Code version: 1.97.1
[17:03:58.461] Remote-SSH version: [email protected]
[17:03:58.461] win32 x64
[17:03:58.464] SSH Resolver called for host: ppp7297@[email protected]
[17:03:58.464] Setting up SSH remote "[email protected]"
[17:03:58.474] Using commit id "e249dada235c2083c83813bd65b7f4707fb97b76" and quality "stable" for server
[17:03:58.474] Extensions to install:
[17:03:58.479] Install and start server if needed
[17:03:58.482] Checking ssh with "C:\Python313\Scripts\ssh.exe -V"
[17:03:58.485] Got error from ssh: spawn C:\Python313\Scripts\ssh.exe ENOENT
[17:03:58.485] Checking ssh with "C:\Python313\ssh.exe -V"
[17:03:58.486] Got error from ssh: spawn C:\Python313\ssh.exe ENOENT
[17:03:58.486] Checking ssh with "C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe -V"
[17:03:58.490] Got error from ssh: spawn C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[17:03:58.490] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\java8path\ssh.exe -V"
[17:03:58.491] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\java8path\ssh.exe ENOENT
[17:03:58.491] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe -V"
[17:03:58.492] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[17:03:58.492] Checking ssh with "C:\Program Files (x86)\VMware\VMware Player\bin\ssh.exe -V"
[17:03:58.493] Got error from ssh: spawn C:\Program Files (x86)\VMware\VMware Player\bin\ssh.exe ENOENT
[17:03:58.493] Checking ssh with "C:\Program Files\BellSoft\LibericaJDK-21-Full\bin\ssh.exe -V"
[17:03:58.494] Got error from ssh: spawn C:\Program Files\BellSoft\LibericaJDK-21-Full\bin\ssh.exe ENOENT
[17:03:58.494] Checking ssh with "C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin\ssh.exe -V"
[17:03:58.496] Got error from ssh: spawn C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin\ssh.exe ENOENT
[17:03:58.496] Checking ssh with "C:\Program Files\Zulu\zulu-21\bin\ssh.exe -V"
[17:03:58.497] Got error from ssh: spawn C:\Program Files\Zulu\zulu-21\bin\ssh.exe ENOENT
[17:03:58.497] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[17:03:58.498] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[17:03:58.498] Checking ssh with "C:\Windows\ssh.exe -V"
[17:03:58.498] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[17:03:58.498] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[17:03:58.499] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[17:03:58.499] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[17:03:58.500] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[17:03:58.500] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[17:03:58.526] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[17:03:58.530] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50309 "ppp7297@[email protected]" sh
[17:03:58.532] Generated SSH command: 'type "C:\Users\ppani\AppData\Local\Temp\vscode-linux-multi-line-command-ppp7297-gle-3159-ws29.nx.rit.edu-332473657.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50309 "ppp7297@[email protected]" sh'
[17:03:58.533] Using connect timeout of 17 seconds
[17:03:58.535] Terminal shell path: C:\Windows\System32\cmd.exe
[17:03:58.958] > RIT information technology resources are for the use of authorized

users only. By using these resources, you acknowledge that you have
read and comply with RIT's Code of Conduct for Computer and Network
Use and RIT's Information Security Policy and Standards.Use of this computer system is subject to monitoring and recording by
system personnel. Anyone using this system expressly consents to such
monitoring and recording. Any evidence of criminal activity or
violation of policy may be provided to the appropriate officials
and/or law enforcement.
ppp7297@[email protected]'s password:
[17:03:58.958] Got some output, clearing connection timeout
[17:03:58.960] Showing password prompt
[17:04:03.186] Got password response
[17:04:03.186] "install" wrote data to terminal: ""
[17:04:03.240] >
[17:04:05.226] > Permission denied, please try again.
ppp7297@[email protected]'s password:
[17:04:05.226] Showing password prompt
[17:04:09.407] Got password response
[17:04:09.408] "install" wrote data to terminal: "
"
[17:04:09.460] >
[17:04:11.279] > Permission denied, please try again.
ppp7297@[email protected]'s password:
[17:04:11.279] Showing password prompt
[17:04:16.479] Got password response
[17:04:16.480] "install" wrote data to terminal: "************"
[17:04:16.531] >
[17:04:18.314] > ppp7297@[email protected]: Permission denied (publickey,password).
The process tried to write to a nonexistent pipe.
[17:04:19.583] "install" terminal command done
[17:04:19.584] Install terminal quit with output: ppp7297@[email protected]: Permission denied (publickey,password).
[17:04:19.584] Received install output: ppp7297@[email protected]: Permission denied (publickey,password).
[17:04:19.585] WARN: $PLATFORM is undefined in installation script output. Errors may be dropped.
[17:04:19.589] Resolver error: Error: Permission denied (publickey,password).
at y.Create (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:739050)
at c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:735967
at t.handleInstallOutput (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:737053)
at t.tryInstall (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:854138)
at async c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:812962
at async t.withShowDetailsEvent (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:816213)
at async R (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:809499)
at async t.resolve (c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:813614)
at async c:\Users\ppani.vscode\extensions\ms-vscode-remote.remote-ssh-0.117.1\out\extension.js:2:1099250
[17:04:19.607] ------

[17:04:19.607] ---------- [Session Summary] -----------
[17:04:19.607] [PermissionDenied]: Error: PermissionDenied (Permission denied (publickey,password).)
[17:04:19.607] ----------------------------------------
[17:04:20.034] Opening exec server for [email protected]
[17:04:20.069] Initizing new exec server for [email protected]
[17:04:20.069] Using commit id "e249dada235c2083c83813bd65b7f4707fb97b76" and quality "stable" for server
[17:04:20.069] Extensions to install:
[17:04:20.099] Install and start server if needed
[17:04:20.102] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50309 "ppp7297@[email protected]" sh
[17:04:20.103] Generated SSH command: 'type "C:\Users\ppani\AppData\Local\Temp\vscode-linux-multi-line-command-ppp7297-gle-3159-ws29.nx.rit.edu-943865911.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50309 "ppp7297@[email protected]" sh'
[17:04:20.103] Using connect timeout of 17 seconds
[17:04:20.104] Terminal shell path: C:\Windows\System32\cmd.exe
[17:04:20.476] > RIT information technology resources are for the use of authorized

users only. By using these resources, you acknowledge that you have
read and comply with RIT's Code of Conduct for Computer and Network
Use and RIT's Information Security Policy and Standards.Use of this computer system is subject to monitoring and recording by
system personnel. Anyone using this system expressly consents to such
monitoring and recording. Any evidence of criminal activity or
violation of policy may be provided to the appropriate officials
and/or law enforcement.
ppp7297@[email protected]'s password:
[17:04:20.476] Got some output, clearing connection timeout
[17:04:20.477] Showing password prompt
[17:04:22.971] Password dialog canceled
[17:04:22.974] "install" terminal command canceled
[17:04:22.976] Exec server for [email protected] failed: Error: Connecting was canceled
[17:04:22.976] Error opening exec server for [email protected]: Error: Connecting was canceled
[17:04:22.978] ---------- [Session Summary] -----------
[17:04:22.979] [PermissionDenied]: Error: PermissionDenied (Permission denied (publickey,password).)
[17:04:22.979] ----------------------------------------

@joshspicer
Copy link
Member

Thanks for checking. I would suggesting changing Host as well to a memorable name that doesn't include the user@.

I've confirmed that openssh (run from my terminal) would not handle this configuration properly. It was supported by this extension by coincidence. I will see if this could be easy to handle, but likely we'll align with openssh and keep this as-is.

Thanks again for checking!

@RoyalOfficial
Copy link
Author

Is there something wrong with my config? It works on all other ssh software i used it on.

@RoyalOfficial
Copy link
Author

ok so the problem was the Host having my username in it removing the ppp7297@ in Host fixed it. I also had deleted the file Identityfile pointed to so beyond me how the SSH key still worked? idk
Host gle-3159-ws29.nx.rit.edu
HostName gle-3159-ws29.nx.rit.edu
User ppp7297
Port 22
PreferredAuthentications publickey
IdentityFile "C:/Users/ppani/.ssh/id_rsa"

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

No branches or pull requests

3 participants