Sshfs

Mount TELIN datasets

It is possible to mount folders or datasets from the TELIN servers from an HPC worker node.

mkdir ~/mnt
sshfs -p 8822 telin_username@ipids.ugent.be ~/mnt

Replace telin_username with your username from Telin. Replace to portnumber 8822 if you use another port, replace ipids with your server your want to access.

You should now be able to list files and use other Linux commands like cd, cp, …

ls ~/mnt
cp ~/mnt/flightplan/NewYork/centralpark.png .

To umount type this command:

fusermount -u ~/mnt

use ssh keys

Instead of typing passwords each time, it is better the use ssh keys, in the above example, do this ones:

[ ! -f ~/.ssh/id_rsa ] && ssh-keygen -b 4096 -t rsa -N '' -f ~/.ssh/id_rsa
ssh-copy-id -p 8822 telin_username@ipids.ugent.be

The mount is only available on the node where you issued sshfs. If you use this command in your script, it will automatically unmount at the end of your job.