先运行命令:
ssh-agent bash
再运行:
ssh-add
使用命令:ssh-add 时,出现 “Could not open a connection to your authentication agent.”
原文:http://www.cnblogs.com/chaoyong/p/7899584.html