[ssh] added ssh:simple ssh key

This commit is contained in:
Afonso Franco 2024-03-19 03:00:22 +00:00
parent f6aa824ce8
commit ecf0f8a972
Signed by: afonso
SSH key fingerprint: SHA256:aiLbdlPwXKJS5wMnghdtod0SPy8imZjlVvCyUX9DJNk
2 changed files with 5 additions and 3 deletions

View file

@ -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/**"]

View file

@ -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