### 一、config 配置案列
Host master
HostName: 39.105.61.1
Port 22
User root
IdentityFile <id_rsa>
二、配置讲解
Host <host 主机名,可自行根据情况配置>
HostName <ip, 需登录的主机地址>
Port <登录端口 -p >
User <登录用户>
IdentityFile <id_rsa 私钥文件路径>
三、登录方式
ssh <host 主机名>
# 未配置config时的登录方式
ssh -i <id_rsa 私钥路径> <登录用户>@<ip> -p <prot>
# 例如
# ssh -i ~/bus/splat_rsa [email protected] -p 22