[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: keeping OpenSSH connection alive



On Mon, Jun 24, 2002 at 07:32:29PM -0700, bsd@hitmedia.com said:
> Anyone know how to keep an OpenSSH connection alive between two
> OpenBSD boxes?  (Assuming they're using DSA PublicKey auth with
> no password, so they don't need human intervention.)
>
> Would it be something like a cron that checks to see if a
> connection exists, and runs the ssh command if it doesn't?
> (Like a PPP keep-alive situation, redialing if connection is lost.)
>
> Is it possible to see if a connection exists?  I couldn't find
> anything like that in the docs.
>
> (( sorry to post openssh Q here, but openbsd & openssh being so
> intertwined... y'know... ))

You want the KeepAlive option in sshd_config, I believe. Please read the tail
end of sshd(8).
--
-= Scott Francis || darkuncle (at) darkuncle (dot) net =-
  GPG key CB33CCA7 has been revoked; I am now 5537F527
        illum oportet crescere me autem minui

[demime 0.98d removed an attachment of type application/pgp-signature]