【问题标题】:Gitosis and ssh keys - does the email address have anything to do with the git email address?Gitosis 和 ssh 密钥 - 电子邮件地址与 git 电子邮件地址有什么关系?
【发布时间】:2010-11-22 11:02:54
【问题描述】:

我正在尝试在服务器上设置 gitosis。我只是想知道一件事,我的 ssh 密钥最后有我的 gmail 地址,因为我最初将它用于 github。对于我正在设置的服务器上的这个新项目,我想在提交到 git 时使用我的电子邮件地址。在 gitosis 中设置时我可以使用相同的 ssh 密钥,还是需要使用在我的帐户 me@newserver 上生成的不同 ssh 密钥?

【问题讨论】:

    标签: git ssh gitosis ssh-keys


    【解决方案1】:

    不...唯一重要的是私钥与用户匹配。名称和电子邮件只是将 SSH 密钥与用户配对,因为您提交为 git@your-domain.com。

    【讨论】:

    • 酷,这正是我所期待的。感谢您的快速回复!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-03-20
    • 1970-01-01
    • 2017-07-23
    • 2015-01-23
    • 1970-01-01
    • 2012-04-08
    • 1970-01-01
    相关资源
    最近更新 更多