Net::Ssh keepalive

I’m having trouble with Net::Ssh sessions timing out from the server
side.
Is there some option for Net::Ssh that is equivalent to the openssh
option: “ServerAliveInterval” ?

On Fri, Sep 23, 2011 at 12:41 PM, James P.er [email protected]
wrote:

I’m having trouble with Net::Ssh sessions timing out from the server
side.
Is there some option for Net::Ssh that is equivalent to the openssh
option: “ServerAliveInterval” ?

If you just use normal ssh and log in to the server, is this an issue?

these might help:
http://net-ssh.github.com/net-ssh/classes/Net/SSH/Connection/Session.html
send_global_request (type, *extra, &callback)

ssh.send_global_request(“[email protected]”)

there is always the standard docs
http://net-ssh.github.com/ssh/v2/api/index.html

Andrew McElroy

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs