当我尝试 ssh 到服务器时,我可以这样做,因为我的id_rsa.pub
密钥已添加到服务器中的授权密钥中。
现在,当我尝试通过 Capistrano 将代码从本地项目文件夹部署到服务器时,服务器会要求输入密码。
如果我能够 ssh 并且无法部署到同一台服务器,我无法理解可能是什么问题。
$上限部署:设置
"no seed data"
triggering start callbacks for `deploy:setup'
* 13:42:18 == Currently executing `multistage:ensure'
*** Defaulting to `development'
* 13:42:18 == Currently executing `development'
* 13:42:18 == Currently executing `deploy:setup'
triggering before callbacks for `deploy:setup'
* 13:42:18 == Currently executing `db:configure_mongoid'
* executing "mkdir -p /home/deploy/apps/development/flyingbird/shared/config"
servers: ["dev1.noob.com", "176.9.24.217"]
Password: