ssh reverse tunnel issue
Andy Bair
pab at korelogic.com
Tue Apr 5 17:45:34 EDT 2011
It doesn't seem like you're dropping connections but I generally setup
ssh stanzas in my .ssh/config file and use ServerAliveInterval. Maybe
that will help keep things active.
Host some_host
Port <some_port>
Hostname <some_server_ip>
ServerAliveInterval 240
Hope that helps.
Andy
On Tue, Apr 05, 2011 at 05:40:59PM -0400, David Ohlemacher wrote:
> Hi all,
>
> I am having a bothersome issue with ssh (maybe) and was wondering if anyone
> has an idea what the problem might be.
>
> I am running a reverse ssh tunnel from the west coast to a middle machine in
> Nashua, NH. I need to run some machines on the left coast for some
> embedded dev with hardware there. My machine and the west coast machines
> are behind firewalls, hence the need for the rev tunnel. The middle machine
> is not behind a router firewall.
>
> >From the west coast machine to the middle machine:
>
> ssh -X -C -R <tunnel port>:localhost:22 <user>@<middle machine>
> // using X, and compression (not sure if the compression helps or not)
>
> I then ssh to middle machine:
>
> ssh -X -C <user>@<middle machine>
>
> and from the middle machine to the west coast:
>
> ssh -X -C <user>@<west coast machine> -p <tunnel port>
>
> Issue: It mostly works fine. I can open X apps, vim, etc. But I get
> momentary freezes. They last 10 seconds to over a minute. After, I can
> continue my work. 5 or 10 minutes later, it happens again.
>
> I don't think it is the Internet because during freezes not all the windows
> do it. While one window is frozen, I can use 'talk' over the same tunnel
> to talk to another developer on the west coast.
>
> Any ideas?
>
> Thanks,
> -d
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
--
Andy
KoreLogic Security
603.465.3236 (Office)
603.340.2498 (Mobile)
http://www.korelogic.com
GnuPG Fingerprint: 688A 79EC B1E5 5748 CE87 1F20 2C45 60E7 0583 23B6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20110405/4d3c2706/attachment.bin
More information about the gnhlug-discuss
mailing list