Perhaps someone will magically understand your problem. But in general I would say that you should post more information if you want a good chance of a useful reply. Some tips:
Please never post screenshots unless there is an overwhelming reason to do so. This is not one of those cases. Instead copy the *text* and add it in a fixed width font or in a code block. Post your code, in this case probably ssh-example.go, so we can know what you are doing. If the relevant code is small you can put it directly into the post as code block, or put it in https://play.golang.org and use the "share" button to get a permalink to your code. This is acceptable even if your code will not run in the playground. Be as specific as possible. For example, you do not mention what OS you are sshing from or to. For SSH, the OS can matter. Also, things like "the proxy environment variables" is very vague. More info will give the helpful folks of this group more to work with. Good Luck On Monday, March 11, 2019 at 3:00:23 AM UTC-4, Subramanian Sridharan wrote: > Hi guys! > > I would like to know how to keep the environment variables over SSH using > Go. > > I find that several environment variables are missing when I SSH using Go. > > For instance, the proxy environment variables are not present when I SSH > using Go, but they're present when I SSH using an actual terminal. > > [image: Screenshot from 2019-03-11 12-28-22.png] > > Thanks in advance! > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.