coder / coder/vscode-coder

Generated Coder SSH config contains invalid/unknown user permissions

Ouverte
#1,108 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
130
Forks
48
Merge moyen
3 j 3 h
PR mergées (30 j)
15

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript, vscode
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
52/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.