-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 7 Feb 2002 21:28:59 -0500, Keith Antoine wrote:

>On Thursday 07 February 2002 01:35 am, Federico Voges warbled:
>> Keith,
>>
>> Short answer:
>>
>> man scp
>
>Read that as I said but you need to be psychic to understand what its saying 
>as with most man pages.
>
>> Not-so-short answer:
>>
>> You don't need to ssh first.
>>
>> File xfer (remote to local)
>> scp user@host:/path/source_file /local/path/[new_filename]
>
>Can you use a 'directory name' for remote and use -r ?
>

Yes, you can. IIRC, if you include the last "/" (eg:
/home/fvoges/docs/) it will create the directory:

scp -r user@host:~/docs .
will copy everything in the docs dir (recursively) to the current dir.

scp -r user@host:~/docs/ .
will create a new docs directory in the current (local) dir. The, it
will copy everything in the docs dir (recursively) to it.


You'll have to try...

>> File xfer (localto remote)
>> scp /local/path/source_file user@host:/path/[new_filename]
>>
>>
>> You can use the -r switch to do a recursive xfer.
>
>Thanks I'll try these out 
>
>> I you don't have your public key on the remote site, you'll be asked
>> for the password.
>
>Yes my keys are on the remote site.
>
>-- 
>Keith Antoine aka 'skippy'
>18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
>Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage
>
>_______________________________________________
>Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
>Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: [EMAIL PROTECTED]
Web: http://www.intrasoft.com.ar

PGP Public Key Fingerprint: A536 4595 EB6F D197  FBC1 5C3A 145C 2516

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its 
affiliated companies.

iQA/AwUBPGLUAxRcJRaVKt4XEQIw9gCgyYzkqzfdEPH5xv5+8xRQtffxR64An1/L
G5VhhLmakuaheaTSrdqgzjDS
=c4P/
-----END PGP SIGNATURE-----


_______________________________________________
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to