|
|
Views
Edit history
changed:
-
scp or secure copy ('s'ecure remote ''c''o''p''y'' program)
The scp program is part of (most) ssh distributions, and it is a drop-in
replacement for rcp, and a suitable replacement for ftp much of the time.
Like other ssh tools, it indicates remote files/directories with the string *username@remotehost:/path*.
*username* is the user-account that you use to log in to the remote machine.
*remotehost* is the hostname of the remote machine, resolvable via /etc/hosts or DNS, or even the IP address.
*/path* is the path to the directory or files on the remote machine that you're referring to. It can be an absolute path, in which case it would start with a slash, or it can be a relative path (to your home directory), in which case it wouldn't start with a slash.
How do I copy files from my local machine to a remote machine using scp?
'scp ./some/directory/foo username@example.com:/some/other/directory/'
How do I copy files from a remote machine, to my local machine?
'scp username@example.com:/some/directory/foo /local/path/to/foo'
How does copying a file from one remote host to another remote host work?
'scp username@example.com:file other@example.org:/new/path/and/filename'
scp first logs into example.com, then initiates the scp to example.org.
How do I copy an entire directory?
'scp -R ./some/directory username@example.net:/some/other/directory'
The ''-R'' tells scp to do a ''recursive'' copy.
|
|
«
|
January
2009
|
»
|
| Su |
Mo |
Tu |
We |
Th |
Fr |
Sa |
|
|
|
|
1 |
2 |
3 |
| 4 |
5 |
6 |
7 |
8
|
9 |
10
|
| 11 |
12 |
13 |
14 |
15 |
16 |
17 |
| 18 |
19 |
20 |
21 |
22 |
23 |
24 |
| 25 |
26 |
27 |
28
|
29
|
30 |
31 |
-
General Meeting January 8, 2009
San Diego County Office of Education 6401 Linda Vista Rd Room 301,
2009-01-08
-
Installfest January 10, 2009
National City Adult Education Center: 517 Mile of Cars Way; National City, CA 91950,
2009-01-10
-
Open Source Conference, January 28,29 2009
Ramada Inn & Conference Center
5550 Kearny Mesa Rd.
San Diego, CA 92111,
2009-01-28
-
General Meeting, February 12, 2009
San Diego County Office of Education 6401 Linda Vista Rd Rooms 401 & 401,
2009-02-12
|