Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1321
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: Why does ssh keep hanging |
| Date | 2012-04-30 10:38 +0100 |
| Organization | Roaima. Harrogate, North Yorkshire, UK |
| Message-ID | <063279x6gn.ln2@news.roaima.co.uk> (permalink) |
| References | <z9lnr.6198$tH5.5687@newsfe11.iad> |
unruh <unruh@invalid.ca> wrote:
> I am connecting to the net via a home router wireless (Zoom) and I am
> discovering that if I leave an ssh session for more than a minute of
> two, it freezes (ie the ssh session stops being connected and the screen
> is frozen)
One (or more) of the firewall devices between you and the remote server
is timing out your session. To stop this happening you need to use the
ServerAliveInterval setting.
For example, drop this in your ~/.ssh/config, or if the file already
exists, tweak it appropriately:
Host *
ServerAliveInterval 60
I often have these two configuration items in there, too, but YMMV:
ForwardX11 yes
Compression yes
Chris
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why does ssh keep hanging unruh <unruh@invalid.ca> - 2012-04-30 00:37 +0000
Re: Why does ssh keep hanging "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2012-04-29 21:20 -0400
Re: Why does ssh keep hanging Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-30 09:06 +0100
Re: Why does ssh keep hanging Chris Davies <chris-usenet@roaima.co.uk> - 2012-04-30 10:38 +0100
Re: Why does ssh keep hanging unruh <unruh@invalid.ca> - 2012-04-30 14:46 +0000
Re: Why does ssh keep hanging Chris Davies <chris-usenet@roaima.co.uk> - 2012-04-30 17:07 +0100
Re: Why does ssh keep hanging unruh <unruh@invalid.ca> - 2012-04-30 16:53 +0000
Re: Why does ssh keep hanging Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-04-30 19:53 +0000
Re: Why does ssh keep hanging unruh <unruh@invalid.ca> - 2012-04-30 21:14 +0000
Re: Why does ssh keep hanging Rick Jones <rick.jones2@hp.com> - 2012-04-30 22:33 +0000
Re: Why does ssh keep hanging Bernhard Kupfer a.k.a. Compukiller <nntp@compukiller.net> - 2012-05-04 06:06 +0000
Re: Why does ssh keep hanging Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-05-04 12:32 +0000
Re: Why does ssh keep hanging Rick Jones <rick.jones2@hp.com> - 2012-05-04 18:29 +0000
Re: Why does ssh keep hanging Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-05-05 03:54 +0000
Re: Why does ssh keep hanging Rick Jones <rick.jones2@hp.com> - 2012-05-07 18:05 +0000
Re: Why does ssh keep hanging Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-05-08 00:06 +0000
Re: Why does ssh keep hanging Chris Davies <chris-usenet@roaima.co.uk> - 2012-05-09 09:44 +0100
Re: Why does ssh keep hanging Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-05-09 11:08 +0000
Re: Why does ssh keep hanging Chris Davies <chris-usenet@roaima.co.uk> - 2012-05-10 17:09 +0100
Re: Why does ssh keep hanging Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-05-10 21:33 +0000
Re: Why does ssh keep hanging Chris Davies <chris-usenet@roaima.co.uk> - 2012-05-10 23:38 +0100
Re: Why does ssh keep hanging Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-05-11 09:22 +0000
Re: Why does ssh keep hanging Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-30 15:49 +0100
Re: Why does ssh keep hanging unruh <unruh@invalid.ca> - 2012-04-30 15:48 +0000
Re: Why does ssh keep hanging Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-30 17:11 +0100
csiph-web