summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2025-11-08 11:26:02 -0600
committerBrad Clawsie <brad@b7j0c.org>2025-11-08 11:26:02 -0600
commit483aae76ef1c615a78a01cfbee496291c843f760 (patch)
tree08522a736419a49b4ee56e757d5465dda8d27ee8
parent993ddf1e703c737f1737d0a153674d95d7b879aa (diff)
new git setup on b7j0c
-rw-r--r--git/repo-config22
-rw-r--r--ssh/sshd_config2
2 files changed, 23 insertions, 1 deletions
diff --git a/git/repo-config b/git/repo-config
new file mode 100644
index 0000000..1482c4f
--- /dev/null
+++ b/git/repo-config
@@ -0,0 +1,22 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
+[remote "github"]
+ url = git@github:bradclawsie/dotfiles-public.git
+ fetch = +refs/heads/*:refs/remotes/github/*
+[remote "sr.ht"]
+ url = git@sr.ht:~bradclawsie/dotfiles-public
+ fetch = +refs/heads/*:refs/remotes/sr.ht/*
+[remote "b7j0c"]
+ url = ssh://b7j0c-git:/srv/git/dotfiles-public
+ fetch = +refs/heads/*:refs/remotes/b7j0c/*
+[remote "codeberg"]
+ url = git@codeberg:bradclawsie/dotfiles-public.git
+ fetch = +refs/heads/*:refs/remotes/codeberg/*
+[branch "master"]
+ remote = origin
+ merge = refs/heads/master
+[pull]
+ ff = only
diff --git a/ssh/sshd_config b/ssh/sshd_config
index b33e407..b054ffb 100644
--- a/ssh/sshd_config
+++ b/ssh/sshd_config
@@ -7,4 +7,4 @@ PermitEmptyPasswords no
PubkeyAuthentication yes
UsePAM yes
Subsystem sftp /usr/lib/ssh/sftp-server
-AllowUsers brad
+AllowUsers brad git