先在服务器上 ssh bitbucket.org 点yes链接一下,才能在服务器部署或者在服务器上链接一下代码地址 git ls-remote git@bitbucket.org:xxx/xxx.git master,
原因是bitbucket不在服务器的knowhosts里