I have 2 virtual machines. The 1st virtual machine is where the source files are stored. The 2nd virtual machine is where my bash script is and it should copy files from source to my 2nd virtual machine.
How can I do this in Bash?
Is it possible to SCP files from 1 virtual machine to a 2nd virtual machine in Bash, when my script is running on the 3rd machine? If so, please show me how to do this.