[go-nuts] Re: How to retain environment in SSH

2019-03-18 Thread EduRam
Try passing command "source .login;" before your command. On Monday, March 11, 2019 at 7:00:23 AM UTC, 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 SS

Re: [go-nuts] Re: How to retain environment in SSH

2019-03-11 Thread Tom Mitchell
On Mon, Mar 11, 2019 at 9:16 AM wrote: > Perhaps someone will magically understand your problem. > Yes please, source.. or link to the source. Do tell us what: $ go env returns. I suspect that. your source is conservative and does not pass env variables to the remote shell as that is a d

[go-nuts] Re: How to retain environment in SSH

2019-03-11 Thread jake6502
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