[ssh] added global config

This commit is contained in:
Afonso Franco 2024-05-01 18:54:40 +01:00
parent cd3f033043
commit a929ef7de2
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

View file

@ -1,39 +1,17 @@
IdentityFile ~/.ssh/touch_key
IdentityFile ~/.ssh/id_ed25519_sk
IdentityFile ~/.ssh/id_ed25519_sk_secondary
ControlMaster auto
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 5m
Host git.olympuslab.net gon
ControlMaster auto
HostName git.olympuslab.net
User git
Port 522
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 5m
IdentityFile ~/.ssh/simple_sk
IdentityFile ~/.ssh/id_ed25519_sk
IdentityFile ~/.ssh/id_ed25519_sk_secondary
Host github.com gh
ControlMaster auto
HostName github.com
User git
Port 22
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 10m
IdentityFile ~/.ssh/simple_sk
IdentityFile ~/.ssh/id_ed25519_sk
IdentityFile ~/.ssh/id_ed25519_sk_secondary
Host Search
ControlMaster auto
HostName s7edu2.di.uminho.pt
User pg53595
Port 22
IdentityFile ~/.ssh/id_search
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 5m
Host Fixo
ControlMaster auto
HostName 10.8.0.9
User afonso
Port 22
IdentityFile ~/.ssh/id_rsa
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 5m