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 Remote-SSH: Choose set of ports for remote server to use. #5965

Closed
3 tasks done
tanhakabir opened this issue Nov 29, 2021 · 2 comments
Closed
3 tasks done

Test Remote-SSH: Choose set of ports for remote server to use. #5965

tanhakabir opened this issue Nov 29, 2021 · 2 comments
Labels
ssh Issue in vscode-remote SSH testplan-item

Comments

@tanhakabir
Copy link

tanhakabir commented Nov 29, 2021

Refs: #1386

Complexity: 4

Create Issue


We want to make sure

Prerequisites:

  1. Use the Remote-SSH Nightly extension
  2. SSH into your own machine: Windows, macOS, and Linux to get one set up locally.

Steps:

  1. Connect to your VM. Observe the log Remote server is listening on ___ to see random port being chosen.
  2. Run the command "Kill VS Code Server on Host...".
  3. Set remote.SSH.serverPickPortsFromRange setting for your host with a range of ports to connect to.
  4. Connect to same host again. Observe that Remote server is listening on ___ specifies a port within your range.
  5. [Stretch] Get creative. (try validating that if no free port is found in range then error is thrown)
@karrtikr
Copy link

Blocked on #5966 (comment)

@JacksonKearl JacksonKearl removed their assignment Nov 30, 2021
@amunger
Copy link

amunger commented Dec 1, 2021

works for for Windows Server 2019

@karrtikr karrtikr removed their assignment Dec 1, 2021
@karrtikr karrtikr closed this as completed Dec 1, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ssh Issue in vscode-remote SSH testplan-item
Projects
None yet
Development

No branches or pull requests

5 participants