Is it possible to use the same ssh private/public key pair on 2 machines to access a git repository?

前端 未结 3 1301
轮回少年
轮回少年 2021-01-31 03:30

I\'ve recently setup an inhouse git repository server and have it up and running with gitosis installed as the management tool. Read only access is available via the git:// prot

3条回答
  •  迷失自我
    2021-01-31 04:21

    Yes, that's perfectly legitimate. ssh keys don't care where they were generated, and it's fine to have them on multiple machines at once.

    Try giving the ssh client the "-v" or "-vv" option (for verbose output) and check the server's ssh log to debug the problem.

提交回复
热议问题