The issue arises because the environment variables like $CURL_H1, $CURL_H2, $CURL_H3, etc., are defined in your GitHub Actions runner environment but are not available inside the remote SSH session.