エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
`.ssh/config` の Host はワイルドカードで書ける - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
`.ssh/config` の Host はワイルドカードで書ける - Qiita
Host foobar-web-1 Host 192.168.0.1 Host foobar-web-2 Host 192.168.0.2 Host foobar-db Host 192.168... Host foobar-web-1 Host 192.168.0.1 Host foobar-web-2 Host 192.168.0.2 Host foobar-db Host 192.168.0.3 Host foobar-dev Host 192.168.0.4 Host foobar-staging Host 192.168.0.5 Host foobar-web* # WEB のみ 鍵が違う IdentityFile ~/.ssh/id_rsa-foobar-web # 最初に見つかったものが使われるので、デフォルトは下に書く Host foobar* # 全てのホストで、User は hoge User hoge IdentityFile ~/.ssh/id_rsa-foobar