devcontainers / devcontainers/cli

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

オープン
#439 コメント 1 件 リアクション 0 件 担当者 1 名 @chrmarti が担当を希望しています GitHub で見る
info-needed
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。