I know it's a configuration issue on my server, but I can't find what
to change...  I receive the following backtrace regularly:

/Library/Ruby/Gems/1.8/gems/net-ssh-2.0.2/lib/net/ssh/buffered_io.rb:
64:in `recv': Connection reset by peer - recvfrom(2)
(Errno::ECONNRESET)
        from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.2/lib/net/ssh/
buffered_io.rb:64:in `fill'
        from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.2/lib/net/ssh/connection/
session.rb:200:in `postprocess'
        from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.2/lib/net/ssh/connection/
session.rb:196:in `each'
        from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.2/lib/net/ssh/connection/
session.rb:196:in `postprocess'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/
processable.rb:31:in `process_iteration'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/
processable.rb:43:in `ensure_each_session'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/
processable.rb:41:in `each'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/
processable.rb:41:in `ensure_each_session'
         ... 25 levels...
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/cli/
execute.rb:14:in `execute'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/bin/cap:4
        from /usr/bin/cap:19:in `load'
        from /usr/bin/cap:19

This happens while running commands remotely that take a "long" time
to execute.  Something on the order of minutes (restoring backups or
filling an EC2 volume for example).  This is on Ubuntu Hardy 8.04
using OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007.

I did check man sshd_config, but couldn't find a timeout option I
could identify.  I found this thread
http://www.wideopen.com/archives/redhat-list/2001-April/msg01778.html
on the RedHat mailing list, but it doesn't have a response.  This
seemed promising: 
http://johnsonsolutions.blogspot.com/2008/02/config-idle-timeout-for-openssh-fedora.html,
alas, the OpenSSH version above didn't recognize the IdleTimeout
option.  And the OpenSSH general mailing list didn't turn up anything
relevant on a search for "timeout".

BTW, I do get kicked out of the machine regularly when I simply SSH
into the box and run the same commands, so this is nothing Capistrano-
specific.

Any help would be *very* appreciated!

Thanks!
François

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to