Records
- user’s configuration file (~/.ssh/config)
 - sstem-wide configuration file (/etc/ssh/ssh_config)
 
参数含义
- %L 本地主机名的第一个组件
 - %l 本地主机名(包括域名)
 - %h 远程主机名(命令行输入)
 - %n 远程原始主机名
 - %p 远程主机端口
 - %r 远程登录用户名
 - %u 本地 ssh 正在使用的用户名
 - %i 本地 ssh 正在使用 uid
 - %C 值为 %l%h%p%r 的 hash
 
通配符
*- Matches zero or more characters. For example,Host *matches all hosts, while192.168.0.*matches hosts in the192.168.0.0/24subnet.?- Matches exactly one character. The pattern,Host 10.10.0.?matches all hosts in10.10.0.[0-9]range.!- When used at the start of a pattern, it negates the match. For example,Host 10.10.0.* !10.10.0.5matches any host in the10.10.0.0/24subnet except10.10.0.5.