Versions:

   - Ruby 2.1.1
   - Capistrano 2.15.5
   - 
   
Platform:

   - Linux

cap deploy fails with:

....

Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
    triggering load callbacks
  * executing `staging'
    triggering start callbacks for `deploy:setup'
  * executing `multistage:ensure'
  * executing `deploy:setup'
    triggering before callbacks for `deploy:setup'
  * executing `rvm:install_ruby'
  * executing multiple commands in parallel
    -> "else" :: "__LAST_STATUS=0; export 
CURL_HOME=\"${TMPDIR:-${HOME}}/.rvm-curl-config.$$\"; mkdir ${CURL_HOME}/; { [[ 
-r ${HOME}/.curlrc ]] && cat ${HOME}/.curlrc; echo \"silent\"; echo 
\"show-error\"; } > $CURL_HOME/.curlrc; if id | grep ' groups=.*(rvm)' 
>/dev/null ; then /usr/local/rvm/bin/rvm --autolibs=2 install 2.1.1 ; else sudo 
-p 'sudo password: ' sg rvm -c '/usr/local/rvm/bin/rvm --autolibs=2 install 
2.1.1 ' ; fi ; if id | grep ' groups=.*(rvm)' >/dev/null ; then 
/usr/local/rvm/bin/rvm 2.1.1 do rvm gemset create permissions ; else sudo -p 
'sudo password: ' sg rvm -c '/usr/local/rvm/bin/rvm 2.1.1 do rvm gemset create 
permissions' ; fi || __LAST_STATUS=$?; rm -rf $CURL_HOME; exit ${__LAST_STATUS}"
    -> "else" :: "__LAST_STATUS=0; export 
CURL_HOME=\"${TMPDIR:-${HOME}}/.rvm-curl-config.$$\"; mkdir ${CURL_HOME}/; { [[ 
-r ${HOME}/.curlrc ]] && cat ${HOME}/.curlrc; echo \"silent\"; echo 
\"show-error\"; } > $CURL_HOME/.curlrc; if id | grep ' groups=.*(rvm)' 
>/dev/null ; then /usr/local/rvm/bin/rvm --autolibs=2 install 2.1.1 ; else sudo 
-p 'sudo password: ' sg rvm -c '/usr/local/rvm/bin/rvm --autolibs=2 install 
2.1.1 ' ; fi ; if id | grep ' groups=.*(rvm)' >/dev/null ; then 
/usr/local/rvm/bin/rvm 2.1.1 do rvm gemset create permissions ; else sudo -p 
'sudo password: ' sg rvm -c '/usr/local/rvm/bin/rvm 2.1.1 do rvm gemset create 
permissions' ; fi || __LAST_STATUS=$?; rm -rf $CURL_HOME; exit ${__LAST_STATUS}"
    servers: ["vbdev-ldap01.example.com", "vbdev-ldap02.example.com"]
Password: stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device

connection failed for: vbdev-ldap02.example.com 
(Net::SSH::AuthenticationFailed: deployer), vbdev-ldap01.example.com 
(Net::SSH::AuthenticationFailed: deployer)



I found: 
http://stackoverflow.com/questions/21560297/capistrano-sshauthenticationfailed-not-prompting-for-password

and switched back to net-ssh 2.7.0 and net-ssh-gateway 1.2.0 - still got the 
above error


passwordless ssh from the console is fine, other apps deploy without a 
problem.. and I couldn't spot any differences


Thanks a lot,

Christoph

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/950536e9-65aa-4175-85b3-f4470fd3938c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to