Make sure to copy the config dict in ssh context.