Two suggestions to diagnose the issue, 1) turn on logging on the sftp daemon on the remote host
2) edit lib/buildr/core/transports.rb, under SFTP class, edit ssh_options to add :verbose => true and you may get some information when you run 'buildr deploy' alex 2011/4/27 Marc-André Laverdière <[email protected]> > Yup, done that already :) > > $ ssh maven > [email protected]'s password: > Linux util-server 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 > UTC 2010 i686 GNU/Linux > Ubuntu 10.04.1 LTS > > Welcome to Ubuntu! > * Documentation: https://help.ubuntu.com/ > Last login: Mon Apr 25 13:00:44 2011 from ---.---.---.--- > > > On 4/28/11, Alex Boisvert <[email protected]> wrote: > > Hmmm. The error message seems to point to an authentication issue... I > > assume you have double-checked your credentials? Are you able to login > into > > the remote host manually using the same? > > > > alex > > > > 2011/4/27 Marc-André Laverdière <[email protected]> > > > >> Hello, > >> > >> Something weird has been happening lately. I am not able to make any > >> deployments on SFTP. > >> > >> I am getting the following error: > >> Buildr aborted! > >> Net::SSH::Disconnect : connection closed by remote host > >> > >> (See full trace by running task with --trace) > >> Buildr aborted! > >> RuntimeError : Command failed with status (1): [/usr/bin/ruby1.8 -S > >> buildr _1.4.5_ --build...] > >> > >> I checked, and my server config and my deployment YAML settings haven't > >> changed. > >> I ran a gem update and nothing changed. > >> One of my colleagues is able to make the deployment from cygwin, > however. > >> > >> I'm running Ubuntu 10.10... has any recent update broke a package or > >> something? > >> > >> Here is what it says with --trace enabled: > >> > >> Buildr aborted! > >> Net::SSH::Disconnect : connection closed by remote host > >> > >> (See full trace by running task with --trace) > >> rm /home/marc-andre/workspace/eDRM/server/buildfile.rb.next > >> Buildr aborted! > >> RuntimeError : Command failed with status (1): [/usr/bin/ruby1.8 -S > >> buildr _1.4.5_ --build...] > >> /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/util.rb:503:in `sh' > >> /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/util.rb:533:in > `call' > >> /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/util.rb:533:in `sh' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:696:in > >> `sh' > >> /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1027:in `ruby' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:696:in > >> `ruby' > >> /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/build.rb:292:in > `make' > >> /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/build.rb:354:in > >> `with_release_candidate_version' > >> /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/build.rb:288:in > `make' > >> /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/build.rb:508 > >> /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `call' > >> /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `execute' > >> /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' > >> /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:674:in > >> `invoke_with_call_chain' > >> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:660:in > >> `invoke_with_call_chain' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:655:in > >> `invoke' > >> /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:246:in > >> `top_level' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:246:in > >> `each' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:246:in > >> `top_level' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:535:in > >> `standard_exception_handling' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:237:in > >> `top_level' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:138:in > >> `run' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:535:in > >> `standard_exception_handling' > >> > /var/lib/gems/1.8/gems/buildr-1.4.5/lib/buildr/core/application.rb:135:in > >> `run' > >> /var/lib/gems/1.8/gems/buildr-1.4.5/bin/buildr:19 > >> /var/lib/gems/1.8/bin/buildr:19:in `load' > >> /var/lib/gems/1.8/bin/buildr:19 > >> > >> > >> -- > >> Marc-André LAVERDIÈRE > >> "Perseverance must finish its work so that you may be mature and > complete, > >> not lacking anything." -James 1:4 > >> http://asimplediscipleslife.blogspot.com/ > >> mlaverd.theunixplace.com > >> > > > > > -- > Marc-André LAVERDIÈRE > "Perseverance must finish its work so that you may be mature and complete, > not lacking anything." -James 1:4 > http://asimplediscipleslife.blogspot.com/ > mlaverd.theunixplace.com >
