copy file from one server to another in linux using ssh code example
Example: copy files between servers
scp -r username@server_ip:/path_to_source_directory/* usdername@server_ip:/
path_to_the_destination_directory/
scp -r username@server_ip:/path_to_source_directory/* usdername@server_ip:/
path_to_the_destination_directory/