I am at server A. I want to copy a file from remote server B to remote server C.
This can be done with below commands,
scp username@B:/path_of_file_on_server_B/file.txt /path_of_file_on_server_A
scp /path_of_file_on_server_A/file.txt username@C:/path_of_file_on_server_C
However I want to understand if there is any other way to directly copy file from remote server B to remote server C.
rsync
and this is perfectly possible usingscp
. – terdon May 14 '19 at 13:32