bash - How to copy files into different directory in a remote machine -
how re-create files different directory in remote machine.
for eg : server : 10.10.0.1 remote server : 10.10.0.2
i have login 10.10.0.1 (through putty). here , have re-create file in remote machine /home/test/myfile.txt /home/bkp/myfile.txt (both source , destination folders in remote machine)
assuming can ssh
10.10.22.12 "username" , "username" has write permissions /home/testbkp:
scp /home/test/sample.txt username@10.10.22.12:/home/testbkp/sample.txt
bash unix ssh scp
No comments:
Post a Comment