search

Home  >  Q&A  >  body text

服务器 - git push 和git pull的记住密码问题,已SSH连接成功仍要输入密码。

每次git push 和git pull 的时候都需要输入密码
今天参照文章 http://huaonline.iteye.com/bl... 中的第一个方法进行了ssh的配置
测试ssh连接成功
但是在git 提交的时候还是要输入密码,试了好几次都不行。

我是否需要在服务器上面进行相关的配置?

某草草某草草2766 days ago813

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-05-02 09:45:44

    You have to clone using ssh when you first clone, so when you submit, you will submit using ssh

    reply
    0
  • 黄舟

    黄舟2017-05-02 09:45:44

    Two keys are generated, and the public key needs to be set on the server side.

    Mobile phones are not very convenient for transferring pictures. If you have any questions, you can continue to ask and I will update the answer.


    Update:

    Here we still use github为例,去https://github.com/settings/keys,先New SSH key,填写TitleKey,最后Add SSH Key

    reply
    0
  • Cancelreply