From: "Richard Y. Kim" <ryk@dspwiz.com>
To: "David Peterson" <david.peterson@mail.idrive.com>
Cc: <cygwin@cygwin.com>
Subject: cygwin OpenSSH ssh-agent on Win2000
Date: Thu, 21 Dec 2000 22:52:00 -0000 [thread overview]
Message-ID: <14914.64060.542000.958188@gargle.gargle.HOWL> (raw)
In-Reply-To: <000801c06bc0$45dc1d00$6400000a@minime>
See
http://sources.redhat.com/ml/cygwin/2000-08/msg00834.html
which suggested the use of setx.exe utility from the w2k
resource kit. setx.exe allows you the set an environment
variable for the whole operating system rather than just the
particular shell that you are using.
I wrote the following bash script which I've been using a
few month:
eval `ssh-agent -s`
if [ "$OSTYPE" = "cygwin" ]; then
setx SSH_AUTH_SOCK $SSH_AUTH_SOCK -m
setx SSH_AGENT_PID $SSH_AGENT_PID -m
fi
>>>>> "DP" == David Peterson <david.peterson@mail.idrive.com> writes:
DP> Hello,
DP> Does anyone know how to start the explorer.exe process from ssh-agent when
DP> you log into an NT/2000 system?
DP> I'm trying to do the same as "ssh-agent /etc/X11/xinit/xclients" to make the
DP> ssh agent available to all programs through the environment variables.
>> From within a cygwin bash shell I can do "exec ssh-agent bash" (followed by
DP> ssh-add) and have everything work from that shell, but of course the
DP> variables don't exist in any other shells.
DP> It would seem like having ssh-agent launch explorer when you log in would
DP> work, but I don't know what to tweak where in the registry.
DP> Thanks,
DP> -dave.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2000-12-21 22:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-21 18:39 David Peterson
2000-12-21 22:52 ` Richard Y. Kim [this message]
2000-12-22 0:36 ` David O'Shea
2000-12-22 1:31 ` Egor Duda
2001-01-02 18:15 David Peterson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14914.64060.542000.958188@gargle.gargle.HOWL \
--to=ryk@dspwiz.com \
--cc=cygwin@cygwin.com \
--cc=david.peterson@mail.idrive.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).