I am using a Linux (CentOS) machine, and I have already connected to another system using SSH
.
Now, my question is: How can I copy files from one system to another system?
Suppose, in my environment, I have two system like System A
and System B
. I'm using System A
machine and some other using System B
machine.
How can I copy a file from System B
to System A
?
And, copy a file from System A
to System B
?
scp
to be a cumber stone often. If it could suite your needs, try this out linuxjournal.com/article/8904 It mounts the remote file system locally.dir/
on remote machine usingssh
:tar -c dir/ | gzip | gpg -c | ssh user@remote 'dd of=dir.tar.gz.gpg'
$wget -r --level=9 --no-parent --reject "index.html*" ftp://<USERID>:<PASSWORD>@<MACHINE-NAME>/path/to
Reference1 Reference2scp
; for that onescp
is fine and most easy way as answer, so mods please remove duplicate flag as if somebody will go to other one, most useful answer will be missed out.