PDA

View Full Version : scp



bhelmes
12-02-2003, 10:52 PM
Hello,

the ssh connection is quite okl. but i cannot copy files with scp. Why not ?

I trried scp user@machine1:/export/a.out knoppix@machine2:/ramdisk/a.out

It does not go.

Would be nice if someone can give me a help.

Greetings
Bernhad :roll:

Stephen
12-02-2003, 11:37 PM
Hello,

the ssh connection is quite okl. but i cannot copy files with scp. Why not ?

I trried scp user@machine1:/export/a.out knoppix@machine2:/ramdisk/a.out

It does not go.

Would be nice if someone can give me a help.

Greetings
Bernhad :roll:

You do not need the first user@machine1 in the line eg.


scp file_to_be_copied.txt user@machine_to_be_copied_too:/path/to/directory/to/save/files/

or to go the other way:


scp user@machine_to_be_copied_from:/path/to/directory/to/copy/file.txt file_to_be_saved.txt

A. Jorge Garcia
12-05-2003, 08:53 PM
I got sick of forgetting the scp syntax every other day. Why don't you open konqueror and goto fish://userid@serverip? I'm using this right now, fish://mrg@10.10.2.5, to copy files to and from a remote PC from my home konqueror window!