Optimize SSH config file

preview_player
Показать описание
In this video we'll optimize the SSH config file by defining options for all hosts, group of hosts and individual hosts using wildcards.
#ssh #terminal

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:

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

Host node

Host pro1

Host pro2
Рекомендации по теме