每次git push 和git pull 的时候都需要输入密码
今天参照文章 http://huaonline.iteye.com/bl... 中的第一个方法进行了ssh的配置
测试ssh连接成功
但是在git 提交的时候还是要输入密码,试了好几次都不行。
我是否需要在服务器上面进行相关的配置?
怪我咯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
黄舟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
,填写Title
和Key
,最后Add SSH Key