Thanks Kenneth,

This is nice, but I fail to see the relevance for Capistrano.  Can we
set TCPKeepAlive and TCP_NODELAY in Net::SSH?  Because that's what
seems to be needed here.

Thanks!
François

On 28 août, 15:31, "Kenneth Kalmer" <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 28, 2008 at 7:42 PM, francois.beausoleil <
>
>
>
> [EMAIL PROTECTED]> wrote:
>
> > 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'
> > 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.
>
> > 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!
>
> Now I wish I was skilled enough to dive into net/ssh, maybe in the near
> future.
>
> Jamis, I'm sure the SSH protocol has a NOOP similair to FTP. I based this
> only on being able to set it in putty and SecureCRT. I did q quick google
> and found this 
> (http://drupal.star.bnl.gov/STAR/comp/sofi/facility-access/ssh-stable-con),
> where there is a reference made to some RFC. They also discuss parameters
> for the *nix ssh command that can be used as well, this will help Francois
> as well.
>
> Best
>
> --
> Kenneth Kalmer
> [EMAIL PROTECTED]://opensourcery.co.za
--~--~---------~--~----~------------~-------~--~----~
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