Tips/tricks for local SSH config
Including config
Let’s assume that we wish to split one big ~/.ssh/config to multiple files, split the existing config file and include it with Include keyword.
# include ~/.ssh/first-include
Include first-include
# include ~/.ssh/second-include
Include second-include
Define host within config
Host dev
HostName 1.2.3.4
User ubuntu
Port 2233
IdentityFile ~/.ssh/some-key