部署 大侠,帮我看看,问题出在哪里

zealinux · 2012年09月01日 · 最后由 zealinux 回复于 2012年09月01日 · 2188 次阅读

我这里贴出 log,所以新开了帖子

$ cap deploy 输入 ssh password 后出错

Preparing to execute command: "if [ -d /home/apollo/joohui_staging/shared/cached-copy ]; then cd /home/apollo/joohui_staging/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard c96e4734df04659d7c5d2f44cce31749349bc82a && git clean -q -d -x -f; else git clone -q https://[email protected]/zealinux/youhui.git /home/apollo/joohui_staging/shared/cached-copy && cd /home/apollo/joohui_staging/shared/cached-copy && git checkout -q -b deploy c96e4734df04659d7c5d2f44cce31749349bc82a; fi" servers: ["xxx.com"] SSH User: apollo SSH Password: [xxx.com] executing command ** [xxx.com :: err] Password:

再输入,就死在这里了。

不可以将密码放到配置文件里么?

密码放在配置文件里,没有调用。

set :user, "xxxxx"

需要 登录 后方可回复, 如果你还没有账号请 注册新账号