Re: ClientAliveInterval question
From: Darren Tucker (dtucker_at_zip.com.au)
Date: 02/06/04
- Previous message: al_list251_at_swiftdsl.com.au: "Only password auth from unknown hosts?"
- In reply to: Jason Parsons: "ClientAliveInterval question"
- Next in thread: Jason Parsons: "Re: ClientAliveInterval question"
- Reply: Jason Parsons: "Re: ClientAliveInterval question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 06 Feb 2004 13:47:11 +1100 To: Jason Parsons <jparsons3@mac.com>
Jason Parsons wrote:
> I have a firewall that isn't being useful about keeping idle ssh
> sessions from expiring out of its state table. I have found that
> ClientAliveInterval on the server side fixes these timeouts. However, I
> don't have control over sshd on every system I login to. Is there a way
> for the ssh *client* to ask for a ClientAliveInterval to be set on a
> per-session basis, without having to edit sshd_config?
The following assumes you're referring to OpenSSH...
Not right now. (At least, not with a vanilla release, there are
third-party patches around to add that kind of thing).
The next release, however, will have a ssh_config option
"ServerAliveInterval". It's already in the development snapshots now.
$ man ssh_config
[snip]
ServerAliveInterval
Sets a timeout interval in seconds after which if no data has
been received from the server, ssh will send a message through
the encrypted channel to request a response from the server. The
default is 0, indicating that these messages will not be sent to
the server. This option applies to protocol version 2 only.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Previous message: al_list251_at_swiftdsl.com.au: "Only password auth from unknown hosts?"
- In reply to: Jason Parsons: "ClientAliveInterval question"
- Next in thread: Jason Parsons: "Re: ClientAliveInterval question"
- Reply: Jason Parsons: "Re: ClientAliveInterval question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|