Generated Coder SSH config contains invalid/unknown user permissions
- 主要言語
- TypeScript
- スター
- 130
- フォーク
- 48
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 15
説明
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.
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript, vscode
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100