IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Why does my SSH session keep crapping out?
If I SSH into my server (Linux on the laptop, Linux on the server) and leave it idle on the command line for a few minutes, the connection closes with a "could not write to pipe" message. If I'm in a vim session, it seems to be okay, though I rarely have idle vim sessions for more than a few minutes so I'm not sure.

Any ideas?
--

Drew
New Re: Why does my SSH session keep crapping out?
Add this to you /etc/ssh/ssh_config

ServerAliveInterval 270

That should take care of it.

Reason is the thing doing the "interconnection" is killing it.

Most consumer grade routers/firewalls/switches have a timeout of 5 minutes for idle session timeout.

Its stupid and something that ticks me off all the time, since I have to explain to customers why we aren't the ones killing off their SSH sessions.
New On the laptop or the server?
I'm assuming laptop since my work machine stays connected just fine.
--

Drew
New The one you...
Whichever one you are having issues with. The ssh client.

Since you have one that works and one that doesn't the server can't be the one causing the issue.

So the laptop, I;d guess.
New Looks good so far, thanks
--

Drew
New For that matter, I put it near every where.
Its only a few packet every 4.5 minutes.

Saving much renegotiation problem down the line.
     Why does my SSH session keep crapping out? - (drook) - (5)
         Re: Why does my SSH session keep crapping out? - (folkert) - (4)
             On the laptop or the server? - (drook) - (3)
                 The one you... - (folkert) - (2)
                     Looks good so far, thanks -NT - (drook) - (1)
                         For that matter, I put it near every where. - (folkert)

Powered by sporks.
72 ms