Update....I have been able to connect via ssh from by backup server (remote location) to my production server using non standard ports:
[root@server ~]# ssh "-p 2221" admin@****.com
admin@****'s password:
My production and backup server is using non-standard ports.(security)
Ive run the rsync scripts and am getting connectivity or specific syntax error- out of my depth thus far.
Here is a link to the site where I got some info on rsync scripts to sync some of ibays on my production server to the backup; amended for my purpose.
http://www.tecmint.com/sync-two-apache-websites-using-rsync/Remote Backup server address: *.*.*.* ssh port:2221
Production Server: *.*.*.* ssh port 2221
Here is the script I'm using and would like some comments on where I'm going wrong...
[root@server ~]# [root@server ~]# rsync -avzhe ssh "-p 2221" admin@berltd.dyndns-ip.com:/home/e-smith/files/ibays/hs/html /home/e-smith/files/ibays/hs/html/
rsync: -p 2221: unknown option
rsync error: syntax or usage error (code 1) at main.c(1554) [client=3.1.0]
My main purpose is to setup remote site backup server for some of my websites in case of internet outages.
Also can someone comment on the "cronjob automated sync" and the "passwordless connection". I havent been able to progress that far with the setup.
Would these instructions be void due to SME's template system?
Regarding the non-standard port security. Is this a recommended practice to secure possible attacks to my production server. i want to take some reasonable measures to protect external access.
Thanks in advance.