How to set up private git server on linux

前端 未结 4 985
轮回少年
轮回少年 2021-01-31 12:30

I have tried following how-set-up-your-own-private-git-server-linux and private-remote-git-repositories-ubuntu-linode but I am still having problems.

My local environmen

4条回答
  •  失恋的感觉
    2021-01-31 13:04

    I followed the most voted answer and I didnt get it to work. I found this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 and I got it working. I think the problem was that, in the server, the public key is to be copied to a file "authorized_keys" and not "authorized_hosts".

提交回复
热议问题