[Box Backup] Tunneling TLS through SSH?

Magnus Homann boxbackup@fluffy.co.uk
Fri, 19 May 2006 23:25:27 +0200


Jamie Webb wrote:
> On Thu, May 18, 2006 at 08:20:21PM +0200, Magnus Homann wrote:
>> Is it possible to tunnel TLS through SSH? My backup server is Far Away, and I can't open the bbstored port on that 
>> machine. Thus, ssh to rescue. Or so I thought, but I have a hard time debugging the setup. I'm no root on the bbstored 
>> machine.
>>
>> Has anyone succeeded in doing this? How?
> 
> I've not tried, but it should be as simple as:
> 
> ssh -L2201:localhost:2201 your.server.com
> 
> Then tell bbackupd that the store is on localhost. You may want to use
> autossh to keep the connection live.

No, it's not that easy! :-)

Any info on which machines and for which machines the certificates 
should be generated.

It doesn't help not having access too syslog either.