Newer
Older
$ termrec transfer_scp_anselm.ttyrec
# File transfer from local machine to Anselm cluster
# create local directory with files
$ mkdir folder
$ cd folder
$ touch test_file.scp
$ mkdir local_dir
$ touch local_dir/file.txt
# using scp command to transfer a file to the cluster
$ scp test_file.scp rus016@anselm.it4i.cz:/home/rus016/test_file.scp
# successfully uploaded to the cluster
# using scp command to transfer a directory to the cluster
$ scp -r local_dir rus016@anselm.it4i.cz:/home/rus016/local_dir
# successfully uploaded to the cluster
# login to Anselm cluster and check all transfered files
ssh -i /home/local/.ssh/id_rsa rus016@anselm.it4i.cz
$ls -l
# yes, all files and directory are stored in home directory on the cluster