ssh transfer files between two servers 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/