ssh
. Now my question is how can I copy files from one system to another system?System A
and System B
. I'm using System A
machine and some others using System B
machine.System B
to System A
? And, copy a file from System A
to System B
?
scp <source> <destination>
scp /path/to/file username@a:/path/to/destination
scp username@b:/path/to/file /path/to/destination
Install sshfs. if you use ubuntu/debian:
sudo apt-get install sshfs
sudo yum install fuse-sshfs
brew install sshfs
mkdir /home/user/testdir
sshfs user@server.com:/remote/dir /home/user/testdir
fusermount -u /home/user/testdir
umount mountpoint
diskutil unmount mountpoint