You are not logged in.

#1 2020-07-04 22:10:02

Registered: 2016-12-23
Posts: 60

LAN git server: did I do this correctly?

I wanted to setup a local GIT server. I amalgamated these instructions:

[1] … -pushable/
[2] … the-Server

When I wanted to make a remote clone of my fresh repo, I got:
"Your account has expired; please contact your system administrator"

I fixed this by "chage -E -1 git"

In order to use /src/git/.ssh/authorized_keys, I changed the home directory for git in /etc/passwd from "/" to "srv/git".
And I changed the  --base-path in "/usr/lib/systemd/system/git-daemon\@.service" to "."

Did I do this correctly?
I can try and edit "" assuming the above changes are correct for getting SSH access to git hosted locally.


Board footer

Powered by FluxBB