diff --git a/.gitconfig b/.gitconfig index c2cf472..9082eac 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,7 +1,7 @@ [user] email = afonso@francof.net name = afonso - signingkey = ~/.ssh/id_ed25519_sk.pub + signingkey = ~/.ssh/simple_sk [includeIf "hasconfig:remote.*.url:https://github.com/**"] path = ~/.gitconfig-gh [includeIf "hasconfig:remote.*.url:ssh://git@github.com/**"] diff --git a/.ssh/config b/.ssh/config index 9d2a315..da885e3 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,20 +1,22 @@ -Host gon +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 gh +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