Windows 下 Git bash 的 Forward Agent 启用

2017-10-02 18:22:15 +08:00
 Livid

需要在 ~/.bashrc 中加入:

#!/bin/bash 
eval `ssh-agent -s` 
ssh-add ~/.ssh/id_rsa
3560 次点击
所在节点    git
3 条回复
bbsteel
2017-10-02 19:22:50 +08:00
需要密钥不设置 passphase
ershiwo
2017-10-02 21:18:17 +08:00
zeroxia
2017-10-03 10:53:00 +08:00
能不能用 PuTTY 的 agent ?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/395173

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX