SSHFS allows you to mount a remote filesystem using SFTP. If user owns an HPC4 account, they can use this tool to access HPC4 home directory in HPC3 environment
Using SSHFS to connect to HPC4
In HPC3 login node, create a new folder as a mount point under your home folder.
$ mkdir ~/mntdrv
Perform sshfs with your credentials to mount the remote folder to the local mount point.
Example:
$ sshfs username@hpc4.ust.hk:/home/username ~/mntdrv
Remark: User credential is required to provide to mount the remote folder.
As a result, ~/mntdrv is mounted to the remote folder and you can copy in/out files in this folder as usual.
You may test if the drive mounted sucessfully
$ cd ~/mntdrv $ ls -al
Unmount the SSHFS remote folder
If the remote folder is longer needed, make sure the current working directory is not under the mount point and you can unmount the remote folder
$ fusermount -u ~/mntdrv
As a result, the remote folder is unmounted