Similar questions have been asked before, but I believe they do not cover my issue. I want the set an environment variable, that changes dynamically, for an ssh session using Plink. Using Putty I can define this in the GUI:

enter image description here

When using plink.exe, I don't see an option to add environment variable. I can use plink to load a saved session, which will set the environment variable, but this will not work in my case (scripted).

Is there an option the set the environment variable on the plink commandline?

  • Is this the Windows implementation or a Linux one? – roaima May 10 '18 at 7:55
  • This is plink for Windows – 21bucks May 17 '18 at 3:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.