vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Remote SSH: stuck after authentication

Open azencodev opened this issue 2 years ago • 2 comments

Hi guys !

I am currently stuck after SSH authentication on remote OS (Windows server 2012 R2). Remote-SSH output only characters W and C, and vs code server initialization doesn't progress...

  • VSCode Version: 1.71.1
  • Local OS Version: Windows 10 21H2 (x64)
  • Remote OS Version: Windows Server 2012 R2 (SSH version: OpenSSH_For_Windows_8.9p1, LibreSSL 3.0.2)
  • Remote Extension/Connection Type: SSH (version: OpenSSH_For_Windows_8.1p1, LibreSSL 3.0.2)

image

Thanks

azencodev avatar Sep 15 '22 13:09 azencodev

Hello! Can you try running the same ssh connection command in a local terminal window outside of vscode and see if the issue occurs there as well?

eleanorjboyd avatar Sep 20 '22 17:09 eleanorjboyd

Hello !

Outside vs code, SSH connection works (tested with DOS)

On local : @.***

On remote @.***

Thanks Christian

De : Eleanor Boyd @.> Envoyé : mardi 20 septembre 2022 19:46 À : microsoft/vscode-remote-release @.> Cc : Christian NGUYEN @.>; Author @.> Objet : Re: [microsoft/vscode-remote-release] Remote SSH: stuck after authentication (Issue #7196)

Hello! Can you try running the same ssh connection command in a local terminal window outside of vscode and see if the issue occurs there as well?

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-remote-release/issues/7196#issuecomment-1252698294, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJP3FFXGJG6A43W2YVYHV3TV7HZ5PANCNFSM6AAAAAAQNMPZ7M. You are receiving this because you authored the thread.Message ID: @.***>

azencodev avatar Sep 21 '22 06:09 azencodev

Hello again- could you try running it with this setting: remote.SSH.useLocalServer set to true in your settings.json? Appreciate it!

eleanorjboyd avatar Sep 22 '22 22:09 eleanorjboyd

Hello again

I have tried (updating remote.SSH.useLocalServer = true) and give me same result => infinite loop with WC on output, and indefinitely prompt me for password…

Thanks

De : Eleanor Boyd @.> Envoyé : vendredi 23 septembre 2022 00:48 À : microsoft/vscode-remote-release @.> Cc : Christian NGUYEN @.>; Author @.> Objet : Re: [microsoft/vscode-remote-release] Remote SSH: stuck after authentication (Issue #7196)

Hello again- could you try running it with this setting: remote.SSH.useLocalServer set to true in your settings.json? Appreciate it!

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-remote-release/issues/7196#issuecomment-1255633787, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJP3FFQKD6DJ2LKWRNGHEDTV7TOY3ANCNFSM6AAAAAAQNMPZ7M. You are receiving this because you authored the thread.Message ID: @.***>

azencodev avatar Sep 28 '22 06:09 azencodev

Hi @azencodev, it is interesting that the useLocalServer mode got stuck with an indefinite password prompt- could you include the logs from this try as well? And just to confirm do you have the right user set for this ssh connection in vscode? A indefinite password prompt might suggest an issue authenticating access via ssh but the logs should give more insight as well.

eleanorjboyd avatar Oct 04 '22 15:10 eleanorjboyd

Hello! Were you able to solve your issue? If so, we would love to hear your solution as it can help future users that come across similar errors. Let us know otherwise we will close this issue shortly due to lack of activity. Thanks!

eleanorjboyd avatar Oct 28 '22 21:10 eleanorjboyd

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

github-actions[bot] avatar Dec 01 '22 15:12 github-actions[bot]