Added ssh connection multiplexing to git server (Removes need to keep pressing ssh key or typing password)

This commit is contained in:
Afonso Franco 2022-12-28 19:23:54 +00:00
parent 39c43260a9
commit cc96473d89
Signed by: afonso
GPG key ID: C459E0BB3DCEE899

7
.ssh/config Normal file
View file

@ -0,0 +1,7 @@
IdentityFile ~/.ssh/id_ecdsa_sk
IdentityFile ~/.ssh/id_ecdsa_sk_backup
Host gitea.olympuslab.net github.com
ControlMaster auto
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 1d