This is what I've got so far and it doesn't appear to be working
Code:
rsync -avz /var/www/html/mywebsite.com.live/current/ "ssh -p 2270" rsyncuser@mywebsite.com:/home/admin/public_html/
This is the response I get.
Code:
ssh: connect to host mywebsite.com port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]
And just so we're clear, I've setup a password-less login already
Code:
wh33t@ubuntu:~$ ssh -p 2270 rsyncuser@mywebsite.com
Last login: Fri Oct 16 23:31:31 2015 from xxx.xxx.xxx.xxx
rsycnuser@mywebsite.com [~]#
Any tips in the right direction, would be greatly appreciated.