plink is most likely not sourcing the 'nasadmin' account environment.  When you ssh as the user and invoke the shell, this invokes the environment.  Your best bet is to try the full path, in this case, /nas/bin/nas_version.  If you're going to use other scripts, you can always check the path to the command with which:  [nasadmin[NAME]-test1 ~]$ which nas_version /nas/bin/nas_version  Let us know if that helps!  Karl
I am using plink to ssh to celerra cli to collect few data and save it.  plink -ssh -l nasadmin xxx.xxx.xxx.xxx -pw nasadmin nas_version >output.txt  Above command giving me error   bash: nas_version: command not found  I see that the SSH is connecting to celerra, but it is not able to recognize the command. CD command to other folder is working fine.  How can I issue the command here ? any full path I need to mention ?
remotely ssh to celerra cli