rootd and ssh tunnel

From: J. LJUNGVALL <jljungva_at_dapnia.cea.fr>
Date: Wed, 15 Mar 2006 14:54:38 +0100 (CET)

Hi,

I want to be able to read root files remotely from a firewalled computer. So on the local side I do

bash> ssh -L 8000:localhost:8000 myremote_at_remote.host

and then at the remote host

bash> rootd -p 8000

In /home/myremote/ on the remote side I have a .rootdpass file. Then at the local side

root> TFile *file =
TFile::Open("root://myremote@localhost:8000/rootfile.root);

root the prompts me for the password and all is fine, except I would like to open hundreds of files in an application and can't give the password for every file... I have seen a solution on the root forum but it suggests that I should store unencrypted passwords on the "wrong" computer so to say. There must be a better solution, or? I have the impression from reading the man pages that rootd should be able to use the ssh keys but can't quite figure out how to get that to work. Can someone help me?

cheers

Joa Received on Wed Mar 15 2006 - 14:54:54 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET