How to copy files into different directory in a remote machine?
For Example:
- My server : 10.10.0.1
- Remote Server : 10.10.0.2
I have to login to 10.10.0.1 (through Putty). From here, I have to copy a file in remote machine from /home/test/myFile.txt to /home/bkp/myFile.txt.
Both source and destination folders are in remote machine.
Assuming you can
sshto 10.10.22.12 as “username” and “username” has write permissions to /home/testBkp: