sshconfig 設定小記
一般我們在 ssh 連線都會用 putty,但是在多台機器管理上不是很方便,所以回換成 xshell 相關工具做連線查詢,最近在做Bastion Host
,發現ssh 也可以做到簡單管理設定,這邊就做個筆記。
首先,可以在 .ssh/config
做多個 ssh 連線設定,裡面設定值不分大小寫,可看官網文件。SSH config file syntax and how-tos for configuring the OpenSSH client
The possible keywords and their meanings are as follows (note that keywords are case-insensitive and arguments are case-sensitive):