Connecting to host via gpssh encounters the below warning message:
[gpadmin@mdw faisal]$ gpssh -f hosts [WARN] Unable to write to gpssh history file: '/home/gpadmin/testing_via_root/.gshist'. Please check permissions. =>
When gpssh is executed it attempts to read or create a .gshist file on that server where the gpssh command was executed, at the directory defined by the OS environment parameter $HOME.
.gshist file is used by the gpssh to gather the previous command history that was executed under gpssh prompt.
Example:
export HOME=/tmp gpssh -f <hostfile>