Hi everyone,
> Moreover, Greig is working on a script to automate file transfers between
> two pools.
I'm doing this right now, but I'm trying to make the process a little
smoother. At the moment my scripts generate a list of the pnfs IDs of the
files in the pool that has to be removed. The scripts then loop over this
list, entering the admin interface, removing a file and then exiting.
This process repeats for each file. Obviously this means that it I need to
manually enter the password each time I login to the admin interface. This
solution becomes very annoying if you have more than a handful of files
(although it's probably not as bad as performing the entire process by
hand!). Has anyone managed to successfully use ssh keys to speed up access
to the admin interface?
At the moment, my ~/.ssh/config file on the admin node contains:
Host dcache_admin
Hostname localhost
user admin
Port 22223
Cipher blowfish
Ciphers blowfish-cbc
Does anyone know how would I go about creating a key-pair for
admin@localhost? I know how to do this when I am logging into a remote
machine when I have access to a shell, but I'm not too sure how to do it
in the case of the dCache admin interface.
Thanks,
Greig
|