Pass ENV VAR to new ssh conection Follow
Is it possible to pass an ENV VAR to an ssh connection like you do with terminal ?
I would like to be able to pass a variable to my bashrc script and automate some things based on that variable but be able to configure it in the connection interface.
Please sign in to leave a comment.
Unfortunately, this feature isn't supported by our SSH subsystem yet.
Here's a request for it: https://youtrack.jetbrains.com/issue/IDEA-298430/Cant-set-environment-variables-for-Remote-SSH-External-Tools
You could use this as a workaround, but it requires modifying the SSH config on the server:
Thanks Eugene (Nice name bty) .
Ι came across the LC workaround my self also and probably end up going this way.