R
Runpod16mo ago
mason

Environment Variables are not set in "SSH over exposed TCP" for the root user

The template env variables are not available in the "SSH over exposed TCP" connection which is the root user. I am wondering if the reason for this is because they are only set for the "Basic SSH" user?
5 Replies
Madiator2011
Madiator201116mo ago
It's normal as true ssh spawns separate shell
mason
masonOP16mo ago
Right, but is there a way to access those env vars?
Madiator2011
Madiator201116mo ago
not much you would need export them manually or make some script
mason
masonOP16mo ago
Poop, alright. Makes sense though. Appreciate the help.
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?