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

Test auto platform detection for Remote-SSH #2196

Closed
3 tasks done
roblourens opened this issue Jan 24, 2020 · 8 comments
Closed
3 tasks done

Test auto platform detection for Remote-SSH #2196

roblourens opened this issue Jan 24, 2020 · 8 comments

Comments

@roblourens
Copy link
Member

roblourens commented Jan 24, 2020

Refs: #25

Complexity: 3


Test machines available:
https://github.com/microsoft/vscode-internalbacklog/issues/700

  • Install the nightly SSH extension
  • Set "remote.SSH.useLocalServer": true
  • If you had previously set remote.SSH.windowsRemotes, get rid of it
  • Test connecting to the linux remote and the windows remote, just verify that it connected successfully (and that it connected to real windows, not WSL)
@chrmarti
Copy link
Contributor

@roblourens The Windows test box does not have a SSH server running at the moment.

Also: On my current Windows install, the ssh CLI does not pick up my .ssh/config anymore. Any idea why that would be?

@chrmarti
Copy link
Contributor

Not sure what went wrong, but the ssh config is being picked up again. The Windows box looks like it is being worked on to get sshd running. I'll defer testing until this is done.

@roblourens
Copy link
Member Author

Oh crap, sorry, I had taken it down to debug something. I just started it up again.

Also, I had to start it on a non-standard port, because I think the connection I'm on right now is blocking port 22. Added that to the issue, make sure you copy that config line.

@RMacfarlane
Copy link

The first time I tried to connect to the Windows box, it timed out. I hit retry without copying any details from the output channel, and it's now connecting to both machines perfectly. So I think this was just a transient problem, but thought I'd mention it anyway.

@RMacfarlane RMacfarlane removed their assignment Jan 28, 2020
@rebornix rebornix removed their assignment Jan 28, 2020
@rebornix
Copy link
Member

I tested with the VM created by @roblourens and they worked just fine. However when I try to connect to my own Windows box, it always timeouts. I can ssh to it so not sure why it can't finish launching the server.

@chrmarti chrmarti removed their assignment Jan 29, 2020
@roblourens
Copy link
Member Author

@rebornix please file an issue with the log

@rebornix
Copy link
Member

@roblourens thanks, here it is #2262

@Chuxel
Copy link
Member

Chuxel commented Feb 5, 2020

Set "remote.SSH.useLocalServer": true

@roblourens Should we mention this setting in docs and the README to avoid confusion?

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants