-
Notifications
You must be signed in to change notification settings - Fork 300
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]: After one of the latest releases, it doesnt respect remote.SSH.serverPickPortsFromRange #10043
Comments
I'm experiencing the same issue |
@roblourens @connor4312 - Is there anyway you could quickly look into this. I believe its a quick fix based off of the linked issue. Thanks! |
Looks like this isn't respected for execServer mode, you can disable |
@roblourens - that worked! What does this setting even mean? Is it using a old way to launch the remote server when this is disabled? Thanks for responding! |
@rgulden There's a little bit of info in this wiki - https://github.com/microsoft/vscode-remote-release/wiki/Remote-SSH-troubleshooting#remotesshuseexecserver---exec-server-mode. Having this setting enabled utilizes the VS Code CLI |
This'll be fixed in the prerelease of Remote - SSH on VS Code Insiders next week |
* cli: allow listening on range of ports For microsoft/vscode-remote-release#10043 * clippy lint
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It doesn’t connect successfully (same error message)
Version
vscode-portable 1.91.0
-- installed via Scoop on windows.Expected Behavior
Expected is VSCode remote server will start on one of the ports from the range
Steps To Reproduce
Attempt to connect to a remote machine and set your server pick port range.
Example settings as below:
Remote-SSH Log
Remote-SSH Log
Anything else?
As you can see from the log, it is not giving a port to
--on-port
even when the following config is passed[16:43:27.009] "remote.SSH.serverPickPortsFromRange": {"my_hostname":{"start":60000,"end":60001}}
Error message if cant use port
[11:56:51.530] > channel 3: open failed: administratively prohibited: open failed
on remote machine.In the following issue a similar problem happened with
OnHost
, I would think the fix is similar. #9963The text was updated successfully, but these errors were encountered: