devcontainers / devcontainers/cli

What is the correct process to get the known_hosts imported into the devcontainer system?

Đang mở
#439 1 bình luận 0 reaction 1 người được giao Được @chrmarti nhận Xem trên GitHub
info-needed
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

When I used VSCode and devcontainers, the ~/.ssh/known_hosts is copied into the devcontainer.

```
[214707 ms]
[214708 ms] Start: Run in container: # Test for /home/aos-dev/.ssh/known_hosts and ssh
[214765 ms] /home/aos-dev
[214765 ms]
[214765 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-a23332a1-cce6-48d4-8d54-2a61e610e554.js' >/tmp/vscode-remote-containers-a23332a1-cce6-48d4-8d54-2a61e610e554.js
[214808 ms]
[214809 ms]
[214809 ms] Start: Run in container: # Copy /net/spindles/ykoehler/.ssh/known_hosts to /home/aos-dev/.ssh/known_hosts
[214862 ms]
[214862 ms]
[215007 ms]
```

When I use the CLI devcontainer command "up" and "exec" I do not see any similar statements.

This results in my CI not being able to build as it cannot connect to the same SSH destination as the VSCode users.

Need help on this.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.