3 ms·
I think if you just setup SSH a certain way you can then use git or sftp for access: Match User gituser ChrootDirectory /srv/git_chroot
by xk3 1y ago
I think if you just setup SSH a certain way you can then use git or sftp for access:
Match User gituser
ChrootDirectory /srv/git_chroot
ForceCommand internal-sftp
AllowTcpForwarding no
X11Forwarding no
PermitTTY no
But tbh sending patches is fun and easy! After you force yourself to do it a few times you might even prefer it to push/pull