[英]Unable to access bitbucket from remote server using SSH key to perform a git pull on latest code in repository
[英]Using ssh key forwarding from a Vagrant box to a remote server
尝试从Windows上的Vagrant Ubuntu VM到远程Ubuntu服务器上运行一些capistrano部署脚本,尝试访问github失败:
Running /usr/bin/env git ls-remote -h git@github.com:company/repo.git on x.y.z.a
DEBUG[28ec78e1] Error reading response length from authentication socket.
DEBUG[28ec78e1] Permission denied (publickey).
还有哪些其他旋钮需要调整?
这是一个出乎意料的解决方案,因此,我会将其发布给其他存在神秘部署问题的人:
混合口味似乎存在一些问题。 使用git ssh-clone url在本地计算机上进行干净签出,问题就消失了。
这应该是更改并没有任何意义,但是两个本地存储库的源差异未显示任何更改。 奇。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.