I am looking to automate the transfer of file in a given directory from one server to another server. they are both on the same network, can ping each-other, and even ssh from one to another.
Currently my methodology is sshing into Server A, pull the files down, SSH into Server B and upload them...
I already saw an article here, But I wanted to ask you guys what is the best way to transfer files from server to server, for embedding in a cron-job, or automating.
Here are my limitations:
Neither server can have any public web services (no port 80, no apache, nothing sadface )
Neither server can use any sort of FTP connection (although we can ssh)
Thank you all in advance for your help