--=-mXza4R0QMhek24kmB00M
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Sat, 2002-11-16 at 17:59, DarthLinux wrote:
> this command gives me back:
> usage: scp [-pqrvBC46] [-F config] [-S ssh] [-P port] [-c cipher] [-i=20
> identity]
> [-o option] f1 f2
> or: scp [options] f1 ... fn directory
> am i missing something?
I would have to say that is the worst help message I've seen...
Anyway: lets say that you want to copy a file 'myfile.txt' from the
host 192.168.2.1 to the computer your logged into. You would probably
do:
scp 192.168.2.1:/path/to/file/myfile.txt .
If you wanted to copy a local file to the host you would do:
scp myfile.txt 192.168.2.1:/path/to/file
And then scp should take care of all the rest.
Good luck,
Ted
PS - You can do directories and stuff too, don't be afraid to use '*' or
to list a bunch of files and then put a directory at the end.
--=-mXza4R0QMhek24kmB00M
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see
http://www.gnupg.org
iEYEABECAAYFAj3XJOIACgkQLE335pRPGp18twCfTriUxdZMbzWmonf0Iv89UZLY
xqEAoM5GjK8C8ASVUnT13LvmN4qKbSn8
=aZ+B
-----END PGP SIGNATURE-----
--=-mXza4R0QMhek24kmB00M--