Quote
utilizing the mysqldump command, etc).

Not easy to debug, but wonder if you could run that stuff from CRON job on hosts that don't allow SSH.