I'm using Linux (centos) machine, I already connected to the other 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. – TheMeaningfulEngineer Dec 24 '13 at 9:57dir/
on remote machine usingssh
:tar -c dir/ | gzip | gpg -c | ssh user@remote 'dd of=dir.tar.gz.gpg'
– jfs Dec 24 '13 at 20:49$wget -r --level=9 --no-parent --reject "index.html*" ftp://<USERID>:<PASSWORD>@<MACHINE-NAME>/path/to
Reference1 Reference2 – Mahendran Sakkarai Jan 19 '15 at 6:22scp
; 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. – Alexei Martianov Oct 11 '19 at 12:13