gpcc-util ignores $HOME (and the home dir entry in /etc/passwd) and apparently hard codes the gpadmin users' home directory to /home/gpadmin
Following command should run successfully:
gpcc-util clean-tempfile start -k $HOME/.ssh/id_rsa
The following summarizes the supported flags with gpcc-util clean-tempfile option - including -k which should successfully work through modifying the default home directory.
Flags:
| Flag | Description |
|---|---|
| -k | Path to the SSH private key used to connect to hosts (defaults to /home/<user>/.ssh/id_rsa) |
| -r | (optional) Skip the collect step — only delete the temp files without saving data to the database |