This is an old revision of the document!
DO NOTE READ THIS PAGE ... WORK IN PROGRESS \\
Scp usage from your laptop/pc linux to your linux Sissa workstation
1) Open a terminal
Open a terminal on linux using gnome
please note: depending of the operating system and software version command names can change…
a)Here there are two examples using gnome:
- 1) click on Applications, 2) click on Accessories, 3) click on Terminal.
Go to Open a ssh connection on linux
Open a terminal on linux using kde
please note: depending of the operating system and software version command names can change…
a) Here there are two examples using kde:
- 1) click on the icon on the main bar to open the main menu, 2) click on System, 3) click on Terminal;
- 1) click on the icon on the main bar to open the main menu, 2) click on System Tools, 3) click on Terminal.
Please ALWAYS check that in the destination folder/directory it IS NOT PRESENT a file with the same name of the file which you have to copy there. If a file with the same name is present, using the copy command, this file will be overwritten.
2-L->W ) Copying a file from your laptop to your sissa workstation
- 1) at the prompt write:
scp local_path/file_name_on_your_laptop your-sissa-username@name-of-your-workstation:dest_path/new_file_name
In the following example the local_path is the working folder on your laptop, so it is omitted,
the file_name_on_your_laptop is file_name,
the your-sissa-username is jsmith,
the name-of-your-workstation-name is bluestar.ap.sissa.it,
the dest_path (destination pathname) is ~/Desktop/ and the file will be copied with the same name (so it is not present a new_file_name).
scp fiele_name jsmith@bluestar.ap.sissa.it:~/Desktop/
- 2) at the prompt write your sissa password when requested.
2-W-->L ) Copying a file from your sissa workstation to your laptop
- 1) at the prompt write:
scp your-sissa-username@name-of-your-workstation:local_path/file_name dest_path/new_file_name
In the following example the your-sissa-username is jsmith,
the name-of-your-workstation is bluestar.ap.sissa.it,
the local_path is the ~/Desktop,
the file_name is file_name,
the dest_path (destination_path) is ~/Desktop and the file will be copied with the same name (so the new_file_name is not present).
scp jsmith@bluestar.ap.sissa.it:~/Desktop/file_name ~/Desktop
- 2) at the prompt write your sissa password when requested.