Results 1 to 6 of 6

Thread: SSHD Keep Alive

  1. #1
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118

    SSHD Keep Alive

    Ok having an issue keeping my SSH session connected. First time i've had this issue. I use

    ClientAliveInterval 30
    TCPKeepAlive yes
    ClientAliveCountMax 99999 -

    and
    ServerAliveInterval 100


    perhaps i've overlooked something. it has been awhile since i set up a new keep alive sshd server.
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--

  2. #2
    Join Date
    Mar 2003
    Location
    WebHostingTalk
    Posts
    16,951
    Moved > Hosting Security and Technology .
    Specially 4 You
    .
    JoneSolutions.Com ( Jones.Solutions ) is on the net 24/7 providing stable and reliable web hosting solutions and services since 2001

  3. #3
    Join Date
    Feb 2006
    Location
    Global
    Posts
    1,628
    I know a lot of home routers may kill TCP connections after 5-10 minutes, so that may be configurable at your end.

    Also if you use ClientAliveInterval, you generally don't need TCPKeepAlive.
    They're 2 different methods - and ClientAliveInterval is secure, TCPKeepAlive isn't.

    Did you restart SSHD also?

  4. #4
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118
    the router is a good idea but it never done that before on previous SSH. So prob not it.

    I will drop the TCP Keep Alive.

    Yup SSHD was restarted.
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--

  5. #5
    Double check, if you are already logged into ssh then it won't apply to your current session, you'd have to log out then back in to test it.
    Tara Roberts
    www.whmxtra.com

  6. #6
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118
    yea have many times. It has to be my connection at home dropping. I log in with another server, or my cell phone and they stay connected all night. The PC has stayed connected all night 1 time. Then kicks out randomly at various intervals when im idle. So im pretty sure the server is fine has to be my PC or my Internet dropping for a second or two. Very annoying.
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--

Similar Threads

  1. Problem with SSHD
    By goolex in forum Hosting Security and Technology
    Replies: 1
    Last Post: 03-03-2006, 07:08 AM
  2. Replies: 2
    Last Post: 10-27-2005, 09:36 PM
  3. Creative Talent Wanted - Dead or Alive! (Prefer Alive)
    By sprintserve in forum Design Offers
    Replies: 1
    Last Post: 02-03-2005, 09:37 PM
  4. Which sshd
    By ffeingol in forum Hosting Security and Technology
    Replies: 6
    Last Post: 11-28-2001, 09:31 PM
  5. Sshd Sftp
    By Lord MJ in forum Hosting Security and Technology
    Replies: 3
    Last Post: 10-19-2001, 04:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •