From a929ef7de2d2cd95be7cfcb1c4bcdbb7bb57b0c1 Mon Sep 17 00:00:00 2001 From: afonso Date: Wed, 1 May 2024 18:54:40 +0100 Subject: [PATCH] [ssh] added global config --- .ssh/config | 38 ++++++++------------------------------ 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/.ssh/config b/.ssh/config index da885e3..ad35059 100644 --- a/.ssh/config +++ b/.ssh/config @@ -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