reverse ssh tunnel



Hi,

I have an embedded device sitting out in the field, connected through a USB
cell stick to the internet. In order to be able to reeeaach it, I establish
a reverse ssh tunnel on port 19996 to my home PC to be able to access it.
Now I re-establish that tunnel every 10min to make sure, I have pretty much
uninterrupted access even when the provider decides to change the my IP. Now
I realized that my process list is full of "4383 root ssh -R
19996:localhost:22 -f -N user@host" and netstat is loaded up with
connections as well. How can I ensure this doesn't happen? I only need omne
tunnel at a time open and not 100s... :(

Thanks,
Ron

--- Posted via news://freenews.netfront.net/ - Complaints to news@xxxxxxxxxxxx ---
.



Relevant Pages

  • Re: reverse ssh tunnel
    ... USB cell stick to the internet. ... establish a reverse ssh tunnel on port 19996 to my home PC to be able to ... Now I re-establish that tunnel every 10min to make sure, ... but the firewall at work do sometimes cut of connections. ...
    (alt.os.linux)
  • Re: reverse ssh tunnel
    ... Now I re-establish that tunnel every 10min to make sure, ... uninterrupted access even when the provider decides to change the my IP. ... I have a cron job which checks if there is a process connecting home ... This seems to work for me quite well, but I don't have the issue getting a new ip, but the firewall at work do sometimes cut of connections. ...
    (alt.os.linux)
  • Re: Can iptables block TCP RST packets only?
    ... the TCP sequence numbers and packet arrival times reveals that the ISP must be sending a RST packet to *both* ends. ... think it would have to be a VPN rather than a simple port-based ssh tunnel. ... You could then throttle the connections so that no single one of them is fat enough to attract the attention of the strangler. ...
    (uk.comp.os.linux)
  • Fwd: [fw-wiz] LAN-LAN VPN using PIXes and a dialup connection
    ... >> The tunnel itself performs well. ... >> routers establish new connections. ... >> traffic has to be router through the VPN to the ohter LAN? ... > would trigger the VPN tunnel to come up? ...
    (Firewall-Wizards)
  • RE: [fw-wiz] LAN-LAN VPN using PIXes and a dialup connection
    ... > The tunnel itself performs well. ... > - Why do the PIXes establish VPN connections, even if no LAN ... would trigger the VPN tunnel to come up? ...
    (Firewall-Wizards)