I have the following username@machine connection
user1@machine1 -> user2@machine2
How can I copy files from machine2 to machine1?
I have the following username@machine connection
user1@machine1 -> user2@machine2
How can I copy files from machine2 to machine1?
You can use scp
Use it like this
scp <source path> <destination path>
Where the remote file is addressed as user_name@host_name:path/to/file
Suppose you want to get a file named a.txt
which is in the home directory of user user2
on machine2 say, 192.168.1.10
. You can do this on your machine1,
scp user2@192.168.1.10:a.txt .