Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
services:network:scp:mac:scp-mac [2011/04/15 14:10] marina |
services:network:scp:mac:scp-mac [2011/04/18 10:41] marina |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Scp installation and usage from your laptop/pc Mac to your linux SISSA workstation===== | + | =====Scp usage from your laptop/pc Mac to your linux SISSA workstation===== |
---- | ---- | ||
Line 15: | Line 15: | ||
- | ==== Copying a file from your laptop to your SISSA workstation.==== | + | ==== Copy a file from your laptop to your SISSA workstation.==== |
* **1)** at the prompt write:\\ | * **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>**// | **scp** //**local_path/file_name_on_your_laptop**// //**<color teal>your-SISSA-username@hostname:dest_path/new_file_name</color>**// | ||
+ | \\ | ||
+ | * **2)** at the prompt write //**your SISSA password**// when requested.\\ | ||
+ | {{term_scp_1.jpg|Be sure about the pathnames and file names...}} | ||
+ | \\ | ||
\\ | \\ | ||
For example: | For example: | ||
- | **scp** //fiele_name// //<color teal>jsmith@bluestar.ap.sissa.it:~/Desktop/</color>//\\ | + | **scp**** //fiele_name// //<color teal>jsmith@bluestar.ap.sissa.it:~/Desktop/</color>//**\\ |
In that example the //**local_path**// is the //working folder// on your laptop, so it is omitted, \\ | In that example the //**local_path**// is the //working folder// on your laptop, so it is omitted, \\ | ||
the //**file_name_on_your_laptop**// is //fiele_name//, \\ | the //**file_name_on_your_laptop**// is //fiele_name//, \\ | ||
Line 28: | Line 31: | ||
the //**hostname**// (the name of your SISSA linux workstation) is //bluestar.ap.sissa.it//, \\ | 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>//).\\ | 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)** at the prompt write //**your SISSA password**// when requested.\\ | ||
- | {{term_scp_1.jpg|Be sure about the pathnames and file names...}} | ||
- | \\ | ||
- | \\ | ||
\\ | \\ | ||
- | + | ==== Copy a file from your SISSA workstation to your laptop=== | |
- | + | ||
- | + | ||
- | ==== Copying a file from your SISSA workstation to your laptop=== | + | |
* **1)** at the prompt write:\\ | * **1)** at the prompt write:\\ | ||
- | |||
**scp** //**your-SISSA-username@hostname:local_path/file_name** **<color teal>dest_path/new_file_name</color>**//\\ | **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.\\ | ||
+ | {{term_scp_2.jpg|Be sure about the pathnames and file names..}} | ||
+ | \\ | ||
\\ | \\ | ||
- | For example:**scp** //jsmith@bluestar.ap.sissa.it:~/Desktop/file_name <color teal>~/Desktop</color>//\\ | + | For example: **scp** **//jsmith@bluestar.ap.sissa.it:~/Desktop/file_name <color teal>~/Desktop</color>//**\\ |
In that example the//** your-SISSA-username**// is //jsmith//, \\ | In that example the//** your-SISSA-username**// is //jsmith//, \\ | ||
the// **hostname**// (the name of your Sissa linux workstation) is //bluestar.ap.sissa.it//,\\ | the// **hostname**// (the name of your Sissa linux workstation) is //bluestar.ap.sissa.it//,\\ | ||
Line 51: | Line 48: | ||
the //**file_name**// is //file_name//,\\ | 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).\\ | 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).\\ | ||
- | \\ | + | |
- | * **2)** at the prompt write //**your SISSA password**// when requested.\\ | + | |
- | {{term_scp_2.jpg|Be sure about the pathnames and file names..}} | + |