[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] [user]
email = afonso@francof.net email = afonso@francof.net
name = afonso name = afonso
signingkey = ~/.ssh/id_ed25519_sk.pub signingkey = ~/.ssh/simple_sk
[includeIf "hasconfig:remote.*.url:https://github.com/**"] [includeIf "hasconfig:remote.*.url:https://github.com/**"]
path = ~/.gitconfig-gh path = ~/.gitconfig-gh
[includeIf "hasconfig:remote.*.url:ssh://git@github.com/**"] [includeIf "hasconfig:remote.*.url:ssh://git@github.com/**"]

View file

@ -1,20 +1,22 @@
Host gon Host git.olympuslab.net gon
ControlMaster auto ControlMaster auto
HostName git.olympuslab.net HostName git.olympuslab.net
User git User git
Port 522 Port 522
ControlPath ~/.ssh/session.%r@%h:%p ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 5m ControlPersist 5m
IdentityFile ~/.ssh/simple_sk
IdentityFile ~/.ssh/id_ed25519_sk IdentityFile ~/.ssh/id_ed25519_sk
IdentityFile ~/.ssh/id_ed25519_sk_secondary IdentityFile ~/.ssh/id_ed25519_sk_secondary
Host gh Host github.com gh
ControlMaster auto ControlMaster auto
HostName github.com HostName github.com
User git User git
Port 22 Port 22
ControlPath ~/.ssh/session.%r@%h:%p ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 10m ControlPersist 10m
IdentityFile ~/.ssh/simple_sk
IdentityFile ~/.ssh/id_ed25519_sk IdentityFile ~/.ssh/id_ed25519_sk
IdentityFile ~/.ssh/id_ed25519_sk_secondary IdentityFile ~/.ssh/id_ed25519_sk_secondary