ssh: connect to host xx.xx.xx.xx port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
Fix:
rsync -avz -e “ssh -p 2222” /src root@hotsname:/destination
Where 2222 is SSH custom post
ssh: connect to host xx.xx.xx.xx port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
Fix:
rsync -avz -e “ssh -p 2222” /src root@hotsname:/destination
Where 2222 is SSH custom post