if the remote ssh port is non-standard, the sshPort property must be set. Otherwise the job will not run.
Line 68:
Line 68:
and
and
'remoteHostName‘=>'10.200.48.1',
'remoteHostName‘=>'10.200.48.1',
+
optionally, if the remote server port is configured to e.g. 2222 then set
+
'sshPort'=>2222,
</li><li>write the configuration (this makes the database entries and sets up the cronjobs)
</li><li>write the configuration (this makes the database entries and sets up the cronjobs)
/root/prodbox-job.pl
/root/prodbox-job.pl
Line 73:
Line 75:
{{Note box|When initially doing this step, you will need to temporarily enable "Allow secure shell access using standard passwords" on the production server}}
{{Note box|When initially doing this step, you will need to temporarily enable "Allow secure shell access using standard passwords" on the production server}}
affa --send-key prodbox
affa --send-key prodbox
−
if the remote server port is configured to eg 2222 then do