So I know this will sound very simple, because I’m sure it is. I know when you want to move a file you can use cp or mv in a linux terminal to move from one directory to another. My problem is how do you do it when you want to move a file from your local machine to say a cluster.
To access the cluster, I ssh into it and I have a directory there. Ive tried the absolute filepaths, but that clearly wouldnt work.
You use the
scpcommand:scp \path\to\your\file.txt user@cluster_address:\path\in\clusterthen it asks you for the password, which is the same as the one for
ssh.Another option is that you can also mount the directory of the cluster machine using
sshfsand then you can normaly docpandmvin the mounted directory.