ssh避免重复输入密码 Posted on 2021-01-20 In unix 解决方法:添加私钥 步骤: 切换到文件夹 1cd ~/.ssh 添加秘钥 1ssh-add id_rsa 查看秘钥 1ssh-add -l 测试github仓库连接 1git ls-remote -h -- git@github.com:zhangjk4859/jenkins-build-iOS.git 完。 参考:https://superuser.com/questions/988185/how-to-avoid-being-asked-enter-passphrase-for-key-when-im-doing-ssh-operatio