tags | ||||||
---|---|---|---|---|---|---|
|
There are multiple ways to transfer files to or from Rackham.
Here it is described how to do file transfer to/from Rackham using SCP.
SCP is an abbreviation of 'Secure copy protocol',
however, it is not considered 'secure' anymore:
instead it is considered an outdated protocol.
The program scp
allows you to transfer files to/from Rackham using SCP,
by coping them between your local computer and Rackham.
???- question "Prefer a video?"
See this procedure as a video at [YouTube](https://youtu.be/tUr-gTXmpAA)
Start a terminal on your local computer
In the terminal, copy files using scp
to connect to Rackham:
scp [from] [to]
Where [from]
is the file(s) you want to copy, and [to]
is the destination.
This is quite a shorthand notation!
This is how you copy a file from your local computer to Rackham:
scp [local_filename] [username]@rackham.uppmax.uu.se:/home/[username]
where [local_filename]
is the path to a local filename,
and [username]
is your UPPMAX username, for example:
scp my_file.txt [email protected]:/home/sven
To copy a file from Rackham to your local computer, do the command above in reverse order:
scp [username]@rackham.uppmax.uu.se:/home/[username]/[remote_filename] [local_folder]
where [remote_filename]
is the path to a remote filename,
[username]
is your UPPMAX username,
and [local_folder]
is your local folder, for example:
scp [email protected]:/home/sven/my_remote_file.txt /home/sven
If asked, give your UPPMAX password. You can get rid of this prompt if you have setup SSH keys