‘nsh proxy is configured in the environment’ -> means what? it’s running? the nsh client you are getting this error in is configured to use it ?
What’s in the rscd log on the target when this happens ?
Are you using the same User id through both console and NSH? If not, please check the user id (through which you are connecting to NSH) is also in the users file on the target server.