Remote-SSH 0.124.0 keeps asking for remote platform on every connection
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- vscode
- Domain
- devtools, networking
Research direction
Reproduce the connection using VS Code 1.129.1, Remote-SSH 0.124.0, the shown settings.json entry, and SSH config, then compare it with Remote-SSH 0.120.x. Start with the Remote-SSH: Show Log output and the remote.SSH.remotePlatform setting; done means the saved Linux platform is reused on every connection without prompting.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this bug?
- I have searched the existing open issues and found none that apply.
- If I find any issue of interest that is related or closed, I will included a link to it in this issue.
Required Troubleshooting Steps
- I have read and performed the troubleshooting steps
- I have tried both values of the
remote.SSH.useLocalServersetting - My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
- I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar
[Optional] Diagnose with Copilot
I did not ask the @remote-ssh participant for help
In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?
I did not try step 2 of the troubleshooting steps
Remote-SSH Log
Environment:
- VS Code 1.129.1
- Remote - SSH 0.124.0
- Windows 10 x64
- Ubuntu Server 22.04
Issue:
Every time I connect to the same SSH host, Remote-SSH asks me to select the remote platform (Linux / Windows / macOS), even though the platform has already been saved.
My settings.json contains:
{
"remote.SSH.remotePlatform": {
"ubuntu-sv-nas": "linux"
}
}
SSH config:
Host ubuntu-sv-nas
HostName 192.168.1.62
User root
IdentityFile C:\Users\R9.ssh\id_rsa
IdentitiesOnly yes
The issue happens on every connection.
Downgrading Remote-SSH to 0.120.x completely fixes the issue.
Expected Behavior
fix
Actual Behavior
reinstall the old version
Steps To Reproduce
...
Anything else?
No response
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode-remote-release
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/vscode-remote-release#11650 ·
-
ssh
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
microsoft/vscode-remote-release#11583 ·
-
ssh
Difficulty 4/5 3-5 days Newbie friendliness 38/100
microsoft/vscode-remote-release#11861 ·
-
microsoft/vscode-remote-release#11860 · 1 comment · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/vscode-remote-release#11859 ·
All issues in microsoft/vscode-remote-release
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
bancolombia/sentinel#20 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
alunduil/woodland-generators#669 ·
-
area: tooling
Difficulty 2/5 1-3 hours Newbie friendliness 86/100