SSH

  • Managing Git Repositories with Gitosis

    Gitosis provides a lightweight way to manage Git repositories and user access on a self-hosted server. This post covers user management, repository configuration, and access control. For initial server setup, refer to your Gitosis installation documentation. Adding a New User Each user needs an SSH key pair for authentication. The user generates their key locally:…

  • Git Server Setup with Gitosis

    Gitosis is unmaintained and shouldn’t be used for new deployments. Use Gitolite or Forgejo instead. This guide covers Gitolite, which provides fine-grained access control, is actively maintained, and handles multiple repositories under a single system user. Prerequisites A server running Linux (Debian, Ubuntu, CentOS, or similar) SSH access to the server with sudo privileges A…