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" ?

···

--
Posted via http://www.ruby-forum.com/.

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("keep-alive@openssh.com")

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

Andrew McElroy

···

On Fri, Sep 23, 2011 at 12:41 PM, James Parker <jparker.home@gmail.com> wrote:

--
Posted via http://www.ruby-forum.com/\.