Re: ClientAliveInterval question

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 02/06/04

  • Next message: Darren Tucker: "Re: ClientAliveInterval question"
    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.
    

  • Next message: Darren Tucker: "Re: ClientAliveInterval question"

    Relevant Pages

    • Re: Event ID 538 Logon Type 3 NT AUTHORITY/ANONYMOUS LOGON
      ... server for successful anonymous logoff which indicates that these events may ... Client for Microsoft Networks enabled on your server is causing the null ... > In your response, you mentioned 'null sessions'. ... > Computer Browser service is disabled on ...
      (microsoft.public.win2000.security)
    • RE: Terminal server exeeded the maximum number of allowed connections
      ... server, please perform the following steps to see whether other users are ... Remote Desktop connections yours? ... double-click RDP-Tcp in the Connections folder and click the Sessions tab. ... Microsoft CSS Online Newsgroup Support ...
      (microsoft.public.windows.server.sbs)
    • Re: using Terminal server for applications management
      ... You're right, they find that 2 sessions are'nt enough to work, because there are tree to work, and sometime i have to get a session too. ... I have to confess that actually on Windows 2k, they already use terminal services without any troubles, and they dont understand that, because of a migration on windows 2003, they can not use terminal services any more, except because they changed the IT Manager:) ... has any other role, like being a database server, domain controller, exchange server or whatever. ... Having more than 2 administrators working *simultaneously* on a server is in itself a dangerous situation. ...
      (microsoft.public.windows.terminal_services)
    • Re: where can i set the number of concurrent nx users?
      ... even thought the default is 20, which i assume means 20 concurrent ... as soon as the second user tries to connect... ... "Reached the maximum number of allowed users on this server" ... what do i need to do to allow multiple simultaneous user sessions? ...
      (Ubuntu)
    • Re: intermittent Oracle session explosion
      ... Citrix server. ... contiguous memory from the shared pool and starts to flush ... the front-end panic and send in lots more new connection ... Eventually no more sessions can connect, ...
      (comp.databases.oracle.server)