class Net::SSH::Connection::Keepalive

def keepalive_maxcount

def keepalive_maxcount
  (options[:keepalive_maxcount] || 3).to_i
end