Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
services:network:scp:linux:scp-linux [2009/06/05 13:07]
marina
services:network:scp:linux:scp-linux [2011/05/03 13:06] (current)
marina
Line 1: Line 1:
-<note w> +=====Scp usage from your laptop/pc linux to your linux SISSA workstation===== 
-  DO NOTE READ THIS PAGE ... WORK IN PROGRESS \\+
  
-</​note>​ 
  
- ​{{ ​ services:​sqrman.gif ​ }} 
  
  
-=====Scp usage from your laptop/pc linux to your linux Sissa workstation===== 
 ==== 1) Open a terminal ==== ==== 1) Open a terminal ====
 ===Open a terminal on linux using gnome=== ===Open a terminal on linux using gnome===
 please note: depending of the operating system and software version command names can change...\\ please note: depending of the operating system and software version command names can change...\\
 a)Here there are two examples using gnome:\\ a)Here there are two examples using gnome:\\
-  ​* **<color red> ​1) </​color>​** click on ** Applications** ,**<color red> ​2) </​color>​** click on **System Tools**,**<color red> ​3) </​color>​** click on **Terminal**; +   * **1)** click on ** Applications**,​ **2)** click on **System Tools**, **3)** click on **Terminal**. 
-  * **<color red> ​1) </​color>​** click on ** Applications**,​**<color red> ​2) </​color>​** click on **Accessories**,​**<color red> ​3) </​color>​** click on **Terminal**. +   ​* **1)** click on ** Applications**,​ **2)** click on **Accessories**,​ **3)** click on **Terminal**. 
-{{g.jpg|open a terminal using gnome}}+  
 +{{g.jpg|Open a terminal using gnome.}}
 \\ \\
-Go to __[[#Open a ssh connection on linux]]__+Go to the section ​[[#Open a ssh connection on linux]]
 \\ \\
 ---- ----
Line 22: Line 20:
 please note: depending of the operating system and software version command names can change...\\ please note: depending of the operating system and software version command names can change...\\
 a) Here there are two examples using kde: a) Here there are two examples using kde:
-  * **<color red> ​1) </​color>​** click on **the icon** on the main bar to open the main menu,**<color red> ​2) </​color>​**  click on **System**,​**<color red> ​3) </​color>​** click on **Terminal**; +  * **1)** click on **the icon** on the main bar to open the main menu, **2)** ​ click on **System**, **3)** click on **Terminal**. 
-  * **<color red> ​1) </​color>​**  click on **the icon** on the main bar to open the main menu,**<color red> ​2) </​color>​** click on **System Tools**,**<color red> ​3) </​color>​** 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**. 
-{{k.jpg|open a terminal using kde}}+{{k.jpg|Open a terminal using kde.}}
 \\ \\
 \\ \\
 +
 +----
 +
 +<note i>
 +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.
 +</​note>​
 +
 +==== 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** **<color teal>​your-SISSA-username@hostname:​dest_path/​new_file_name</​color>​**//​\\
 \\ \\
-==== 2-L->W ) Copying a file from your laptop to your sissa workstation==== +   * **2)** at the prompt write //**your ​SISSA password**// when requested.\\ 
-   * **<color red> 1</​color>​** at the prompt write:\\ **//scp file_location_ address/​file_name ​your-sissa-username@name-of-your-workstation:​file_destination_address/file_name//**\\ +For example: //**file_name** **<color teal>​jsmith@bluestar.ap.sissa.it:~/​Desktop/</​color>​**//\\ 
-In the following ​example ​the sissa-username is **jsmith**, the workstation-name is **bluestar.ap.sissa.it**, the file_location_ address is the **working folder** so it is omitted, the file name is **file_name**,​ the file_destination_address is **~/Desktop/** and will be copied with the same name. +{{scp_linux_1.jpg|Be sure about the pathnames and file names...}}
-   * **<color red> 2) </​color>​** ​at the prompt write **your sissa password** when requested.\\ +
-{{scp_linux_1.jpg|scp file_location_ address/​file_name your-sissa-username@name-of-your-workstation:​file_destination_address/​file_name...}}+
 \\ \\
 \\ \\
 +In that example: \\
 +**scp** //​**file_name** **<color teal>​jsmith@bluestar.ap.sissa.it:​~/​Desktop/</​color>​**//​\\
 +  * 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 **//​hostname//​** (the name of your Sissa linux workstation) 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 //<color teal>​new_file_name</​color>//​).\\
 +
 +
 \\ \\
-==== 2-W-->L ) Copying a file from your sissa workstation to your laptop==== +\\ 
-   * **<​color ​red1) </​color>​** at the prompt write:\\ **//​scp ​your-sissa-username@name-of-your-workstation:file_location_address/file_name ​ file_destination_ address/​file_name//​**\\ +\\ 
-In the following ​example ​the sissa-username ​is **jsmith**the workstation-name is **bluestar.ap.sissa.it**, the file_location_ address is the **~/​Desktop**, the file name is **file_name**, the file_destination_address ​is **~/Desktop** and will be copied with the same name+==== 2-W-->L ) Copying a file from your SISSA workstation to your laptop==== 
-   * **<​color ​red2) </​color>​** at the prompt write **your sissa password** when requested.\\ +   * **1)** at the prompt write: 
-{{scp_linux_2.jpg|scp your-sissa-username@name-of-your-workstation:​file_destination_address/​file_name file_location_ address/​file_name.}}+**scp** ​ **your-SISSA-username@hostname:​local_path/​file_name** **<​color ​teal>dest_path/​new_file_name</​color>​**\\ 
 +\\ 
 +   * **2)** at the prompt write// **your SISSA password**// when requested. 
 +For example: **scp** **//jsmith@bluestar.ap.sissa.it:~/Desktop/​file_name ​<color teal>​~/​Desktop</​color>​//**\\ 
 +{{scp_linux_2.jpg|Be sure about the pathnames and file names...}} 
 +\\ 
 +\\ 
 + 
 +In that example:\\ 
 +**scp** **//​jsmith@bluestar.ap.sissa.it:​~/​Desktop/​file_name <color teal>​~/​Desktop</​color>//​**\\ 
 +  * the//** your-SISSA-username**// is //jsmith// 
 +  ​the **//​hostname//​** (the name of your SISSA linux 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 //<​color ​teal>new_file_name</​color>​// is not present).\\ 
 + 
 +