Cannot access env vars through SSH

I’m running a command in circle.yml that uses a sensitive environment variable which I’ve set through the dashboard. The command is failing, and I’m trying to figure out why by running the build with SSH turned on. However, when I’m on the machine, the environment variable does not appear to be set: echo $MY_VAR is empty.

2 Likes

Does this happen to be a fork of another project?

I have the same problem. Environment variables set via dashboard are not available with env command when SSH’d in to the build machine.

The project is not a fork (not sure why that would be relevant, though).

1 Like

I have the same issue… environment variables aren’t set when I ssh into the build machine.

Yeah same here. Can’t seem to access env vars set through the dashboard.

feel bad to ping it up too, but stuck with the same one