This question already has an answer here:
- SSH easily copy file to local system 9 answers
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. I'm connected to System B machine. How can I copy a file from System B to System A?
scpto 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. – Alan 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'– J.F. Sebastian Dec 24 '13 at 20:49