coder / coder/vscode-coder

Generated Coder SSH config contains invalid/unknown user permissions

Aperta
#1,108 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
130
Fork
48
Merge medio
3g 3h
PR unite (30g)
15

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript, vscode
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.