December 2018
Beginner
826 pages
22h 54m
English
You might have noticed that in my examples, I used a mixture of upper and lower characters for my names (for example, CentOS2-V4). I do this because it means that I know when I'm using my SSH config file, and can be sure at a glance that I'm using the settings I configured.
There's nothing stopping you from creating a block like so:
Host centos2 Hostname 192.168.33.11 User vagrant
This is perfectly valid, and the settings will be read as normal.
You can also do clever things such as specific domain matching. If you have to manage two different sets of servers differentiated by their domains, you can do the following:
Host *.examplecake.com Port 2222 User AlieHost *.examplebiscuit.co.uk Port 5252 User Gingerbread
Attempting ...
Read now
Unlock full access