Generated Coder SSH config contains invalid/unknown user permissions
- Lenguaje dominante
- TypeScript
- Estrellas
- 130
- Forks
- 48
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 15
Descripción
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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript, vscode
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100