SSH 設定產生器
建立 SSH 連線用的 ~/.ssh/config 項目。
SSH 主機清單
設定多筆主機項目,支援跳板機 (ProxyJump)、明確的識別金鑰路徑與 Keepalive 設定。
將下載的項目合併至 ~/.ssh/config,並使用 chmod 600 ~/.ssh/config 限制檔案權限。只需填寫金鑰檔案路徑,不需提供私鑰內容。Keepalive 設為 0 即可停用探測。
使用以下指令連線: ssh bastion
~/.ssh/config
Host bastion
HostName 192.0.2.10
User deploy
Port 22
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ServerAliveInterval 60
ServerAliveCountMax 3
9 行176 位元組config