You may need force a load of ~/.profile by using the production.ssh configuration.
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespacesmysqldump_flagsldp configno-tablespaces, so it looks somewhat like this:mysqldump_flags:
  - single-transaction
  - skip-lock-tables
  - no-tablespaces