git仓库下有两个远端,一个在XM一个在TPE,都在对应的gitlib、gitweb上添加了SSH rsa。
但是常常在pull/push的时候出错
执行如下
eval `ssh-agent` ssh-add ~/.ssh/taipei
add发现如下报错
ERROR:
Could not open a connection to your authentication agent
在、/tem/下发现好多
ssh-cmvfFXcV6198 ssh-nUpIKLiU7441 ssh-rnbSqxEl6228 ssh-kKOMSnOa6172 ssh-QQwnddjW7548 ssh-VTltnMfG7444
试着删除,不起作用
在shell下执行
ssh-agent bash --login -i
在ssh-add 问题解决。