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

zealinux · September 01, 2012 · Last by zealinux replied at September 01, 2012 · 2188 hits

我这里贴出 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"

You need to Sign in before reply, if you don't have an account, please Sign up first.