| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <31b7d2790610211847o4cf7bdedwd0cd8eb6151a1a53@mail.gmail.com> |
| Date: | Sat, 21 Oct 2006 20:47:30 -0500 |
| From: | "DePriest, Jason R." <jrdepriest AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: environment variables not propagating when i log in via sshd |
| In-Reply-To: | <20061021004659.40663.qmail@web53002.mail.yahoo.com> |
| MIME-Version: | 1.0 |
| References: | <20061021004659 DOT 40663 DOT qmail AT web53002 DOT mail DOT yahoo DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 10/20/06, John Owens <> wrote: > > How can I make my system environment variables appear when I ssh through sshd? > > Thanks - > > JDO What if you use the option to set environment variables when you install the service with cygrunsrv? --env VAR=VALUE You can use this option multiple times (up to 255 times according to the --help) to set up as many environment options as you need. I typically use it to redirect TEMP to /tmp for ssh like this --env TMP=/tmp --env TEMP=/temp and to set the CYGWIN environment variable --env CYGWIN=TTY NTSEC SMBNTSEC BIMODE NTEA These are stored in the registry and should be read every time ssh starts. -Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |