coder / coder/vscode-coder

Generated Coder SSH config contains invalid/unknown user permissions

Đang mở
#1,108 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
130
Fork
48
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
15

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript, vscode
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.