Transfer Files via SCP¶
SCP file transfers can be performed directly via any terminal instance opened in a local user machine with OpenSSH client installed, through the following commands (the user should replace the text inside braces below with the corresponding names/paths).
- To transfer local files to mat3ra.com remote server (called "bohr"):
1 | |
- To transfer remote files from mat3ra.com server to local machine:
1 | |
Examples¶
For example, let us assume that user steve would like to transfer a text file
called example.txt under his local home directory to the remote "bohr" server,
where the final destination is his personal data folder in the
Cluster Home directory for
"cluster-001".
The command that he needs to enter to perform this file transfer, after opening a terminal instance on his own local machine, would be the following (assuming his private ssh key file is stored locally under his home folder).
1 | |
The converse operation, to retrieve the remotely stored example.txt file and
re-copy it under his local home directory, would consist in the following
command.
1 | |