R
RunPod6mo 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
Madiator20116mo ago
It's normal as true ssh spawns separate shell
mason
masonOP6mo ago
Right, but is there a way to access those env vars?
Madiator2011
Madiator20116mo ago
not much you would need export them manually or make some script
mason
masonOP6mo ago
Poop, alright. Makes sense though. Appreciate the help.
Want results from more Discord servers?
Add your server