Next: Appendix
Up: Transferring single files past
Previous: Transferring single files from
Contents
Index
- Create a file named 'config' in the folder .shh in your home directory
- Add the following lines to the file 'config'
Host desydata
ProxyCommand ssh -Y <account>@bastion.desy.de /bin/nc p3wgs6.desy.de %p
Notes:
account
has to replaced by a valid account name, either a DESY staff or a beamtime
account (fs******)
- Depending on the unix system used, 'nc' might be in another location or may even have a different name, try e.g. 'which nc' or 'which netcat' to find the appropriate binary location
- 'desydata' is an alias and can be chosen freely
- One should now be able to transfer your data or connect from outside DESY, e.g.
rsync -tvr
account
@desydata:
path_to_your_data
path_to_target_dir
where
path_to_your_data
is the source directory, e.g. /pnfs/desy.de/petra3/disk/user/
AppID
...
and
path_to_target_dir
is the target directory, e.g. /mydir/
Please note:
- that one has to provide your password twice, one time to establish the tunnel and one time to log into the server
- that the options for rsync given in the example are just for demo and do not necessarily reflect your needs.
Next: Appendix
Up: Transferring single files past
Previous: Transferring single files from
Contents
Index
Andre Rothkirch
2013-07-17