try scp <filename> <username>@<host>:<full path for location>

and scp <username>@<host>:<full path and filename> <filename>

Patrick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eugenio Diaz
Sent: Friday, July 06, 2001 10:06 AM
To: Cooker Maillist
Subject: [Cooker] scp login name option


Does anyone here know how to tell "scp" a different login name like the "-l"
option of ssh?

For example if I want to copy files between computer A and B and my user ID
is
foo at A and bar B, then I tried:

scp -o "-l bar" A:filetocopy .

but that did not work ... any one know how to do it. This is a pretty
frequent
situation when you are using computers that only use ssh ...

=====
________________________
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Reply via email to