coder / coder/vscode-coder

Generated Coder SSH config contains invalid/unknown user permissions

Offen
#1,108 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
130
Forks
48
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
15

Beschreibung

Remote SSH connections failing on Windows because the SSH config file generated by the Coder extension has invalid file permissions.

### Error

With latest vscode plugin Remote SSH fails with the following message:

```
Bad permissions. Try removing permissions for user:
UNKNOWN\UNKNOWN (S-1-5-21-354618XXXX-405751XXXX-XXXXXXX-XXXXXXXXXX)
on file C:/Users//AppData/Roaming/coder.coder-remote/ssh/vscode--xxxxx.de.conf.

Bad owner or permissions on
C:\Users\\AppData\Roaming\coder.coder-remote\ssh\vscode--coder.zugang
```

### Workaround

Downgrading the Coder VS Code extension to version 1.15.2 resolves the issue for me.

With version 1.15.2, I can use the Coder-generated SSH configuration directly from my normal SSH config file, and VS Code Remote SSH connects successfully.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the Windows Remote SSH failure with the generated file at C:/Users//AppData/Roaming/coder.coder-remote/ssh/vscode--xxxxx.de.conf and compare it with extension version 1.15.2. Trace where the Coder VS Code extension creates its SSH configuration, then verify that the generated file has valid owner and permissions and that VS Code Remote SSH connects successfully.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript, vscode
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.