I m working on hp Unix box. I m trying to execute remote script through ssh. My target script uses environment variables value internally. When i do manually ssh and do echo $(env_vairable_name), it prints the value. But when i execute script remotely, it does not get env variable value. I m trying blow command to execute remote script. ssh remote_user@remote_hostname "~/my_script_on_remote.ksh". Please advice.
Thanks.