to copy file remotely and securely, use scp below is the generally usage
note: i am using IPs instead of hostnames and also assumes I am on first server.
$scp filename 22.214.171.124:/tmp/
the above command will copy the file from frist server to second servers /tmp direcotory
Yes you can automate the task using cron.