[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 18 Jul, 2013, at 2:45 pm, Philip Hudson wrote:
On 18 Jul, 2013, at 1:31 am, Kai Hendry wrote:Hi guys, On a related note I've written a simple ssh based port forwarder: http://pi.dabase.com/ It allows you to "phone home" from behind a NAT. Without needing dynamic IP setup or access to your router control panel. Be good if you could review the code. I tried to lock it down as much as possible.Similar code (since re-factored it to use command=) was used to manage80 odd signage machines across London.I may have misunderstood your use case. Wouldn't autossh do the trick?
Yes I misunderstood. I still think autossh might be slightly better than vanilla ssh within your script, but AFAICT it won't give you the dynamic port numbering you want on its own.
Irrelevant question: What do you mean by "re-factored to use command"? -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq