From 455a9e3f8a10c479fb982060b312ebe7a27f3c48 Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Mon, 2 Jan 2023 10:38:12 -0600 Subject: ssh --- infra/git/config | 22 ++++++++++++++++++++++ ssh/dotsshconfig | 16 ++++++++++------ 2 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 infra/git/config diff --git a/infra/git/config b/infra/git/config new file mode 100644 index 0000000..0b40ab1 --- /dev/null +++ b/infra/git/config @@ -0,0 +1,22 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true +[remote "github"] + url = git@github.com:bradclawsie/dotfiles-public.git + fetch = +refs/heads/*:refs/remotes/origin/* +[remote "gitlab"] + url = git@gitlab.com:bradclawsie/dotfiles-public.git + fetch = +refs/heads/*:refs/remotes/origin/* +[remote "sr.ht"] + fetch = +refs/heads/*:refs/remotes/origin/* + url = git@git.sr.ht:~bradclawsie/dotfiles-public +[remote "b7j0c"] + url = ssh://b7j0c:/home/brad/bare-repos/dotfiles-public + fetch = +refs/heads/*:refs/remotes/origin/* +[branch "master"] + remote = origin + merge = refs/heads/master +[pull] + ff = only diff --git a/ssh/dotsshconfig b/ssh/dotsshconfig index 12a6d7b..244b40f 100644 --- a/ssh/dotsshconfig +++ b/ssh/dotsshconfig @@ -9,11 +9,15 @@ Host b7j0c HostName b7j0c.org User brad Port 512 + IdentityFile ~/.ssh/id_ed25519_20230101 + IdentitiesOnly yes Host grokloc Hostname grokloc.com User brad Port 512 + IdentityFile ~/.ssh/grokloc_ed25519_20230101 + IdentitiesOnly yes Host arch0 Hostname arch0 @@ -24,36 +28,36 @@ Host grokloc-grokloc HostName grokloc.com User brad Port 512 - IdentityFile ~/.ssh/id_grokloc + IdentityFile ~/.ssh/grokloc_ed25519_20230101 IdentitiesOnly yes Host gitea-grokloc HostName grokloc.com User git Port 512 - IdentityFile ~/.ssh/id_grokloc + IdentityFile ~/.ssh/grokloc_ed25519_20230101 IdentitiesOnly yes Host sr.ht-grokloc HostName git.sr.ht User git - IdentityFile ~/.ssh/id_grokloc + IdentityFile ~/.ssh/grokloc_ed25519_20230101 IdentitiesOnly yes Host github-grokloc HostName github.com User git - IdentityFile ~/.ssh/id_grokloc + IdentityFile ~/.ssh/grokloc_ed25519_20230101 IdentitiesOnly yes Host gitlab-grokloc HostName gitlab.com User git - IdentityFile ~/.ssh/id_grokloc + IdentityFile ~/.ssh/grokloc_ed25519_20230101 IdentitiesOnly yes Host codeberg-grokloc HostName codeberg.org User git - IdentityFile ~/.ssh/id_grokloc + IdentityFile ~/.ssh/grokloc_ed25519_20230101 IdentitiesOnly yes -- cgit v1.2.3