Re: ssh with keepalive?
* Monique Y. Herman <spam@bounceswoosh.org> [2004-02-17 14:50]:
> On 2004-02-17, Paul Johnson penned:
> >
> > One thing I've noticed is Comcast's network isn't the most reliable in
> > the world when it comes to sustaining a connection with no activity.
> > In putty, you can tell it to send a keepalive every n seconds, which
> > for me, has been 100% reliable in maintaining the connection.
> >
> > I can't seem to find a similar option in ssh 1:3.6.1p2-12. What do
> > other people on budget networks do for keepalives? (And for that
> > matter, why doesn't every network-oriented program have some method to
> > send a keepalive?)
> >
>
> This doesn't directly answer your question, but Colin recently revealed
> that putty exists on debian, so ... that's one work-around. You can
> also use plink, the command-line tool, which can use putty's profiles.
>
> Something like
>
> plink @hostname
>
> should work (assuming hostname is a profile that you've defined in
> putty).
>
While ssh does not have a command-line option for keepalive, there is a
config file option. See man ssh_config
Lou
Reply to: