In this video we'll optimize the SSH config file by defining options for all hosts, group of hosts and individual hosts using wildcards.
Timestamp:
0:00 Intro
0:16 SSH config file path
0:32 SSH config general options for all hosts
1:22 SSH config option for individual hosts
1:50 SSH config wildcards for group of hosts
2:22 SSH config negating hosts
Related video:
Git SSH key:
Git private repo:
Used SSH config file:
Host *
AddKeysToAgent yes
IdentitiesOnly yes
Host pro?
User itvraag
IdentityFile ~/.ssh/id_ed25519_pro
Host !pro*
User temp
IdentityFile ~/.ssh/id_ed25519_temp
Host puppet
HostName xxx.xxx.xxx.xxx
Host node
HostName xxx.xxx.xxx.xxx
Host pro1
HostName xxx.xxx.xxx.xxx
Host pro2
HostName xxx.xxx.xxx.xxx
Watch video Optimize SSH config file online, duration 03 minute 09 second in high hd quality that is uploaded to the channel itvraag 02 April 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 594 times and liked it 6 visitors.