I'm on aix 7.1,my shell is bash
if i did
ssh ibmunix gqlplus user/pass
All works and gqlplus start,gqlplus is on /opt/freeware/bin If i did from another machine
ssh ibmunix "gqlplus user/pass"
Give me the error message "gqlplus: command not found"
If i did
ssh -t ibmunix "source .bash_profile; gqlplus user/pass"
Works fine The question is: is possible with ssh to read automatically .bash_profile?