I have a shell script which ssh to a server.
ssh -t user@x.x.x.x << "EOT"
echo $ENVIRONMENT_VARIABLE
set +e
EOT
The $ENVIRONMENT_VARIABLE
is already set in the server. However in the script it cannot read its value. How can I make it so that in the script it can read its value?