setting ssh-add environment variables on Windows

From: Julie Bielski (JBIELSKI1_at_nc.rr.com)
Date: 10/25/03


Date: Sat, 25 Oct 2003 01:45:48 GMT

I'm running the OpenSSH for Windows client without a full cygwin
environment. Has anyone figured out a way to do a system-wide set of the
SSH_AUTH_SOCKET and SSH_AGENT_PID environment variables under Windows? What
would be nice is if you could run ssh-agent from a login script, get
prompted once for your identiy passphrase, and then have these variables be
set for the duration of your session and available from each cmd window.
Seems impossible to do without a full cygwin install and access to a bash
shell, etc. Someone handy with DOS debug could probably figure out a clever
way to make this happen.

Julie



Relevant Pages

  • Re: Using PHP to parse specific XML tag content?
    ... XML --> HTML transformation in testing environment. ... run just fine under Windows using Cygwin, and, unless I'm ... And they aren't going to run cygwin on these systems, ... It's a programming language designed ...
    (comp.lang.php)
  • Re: Linux C header files on Windows?
    ... > are 'linux' header files that I can have on windows. ... > windows port of the unix environment but not the header files. ... Cygwin, Linux, gcc, etc. (though they're very good at correcting my ...
    (comp.lang.c)
  • Cygwin, slrn, and X-Faces (Was: Re: [slrn] external editor and sorting)
    ... > environment under MS Windows] ... > the Cygwin people spend all the effort to develop it (Cygwin ... ramblings in particular made an X-Face a 'must have', ...
    (news.software.readers)
  • Re: Download email attachement automatically with no client
    ... I'm also limited for the Windows ... However, since Windows lacks a mature scripting environment, something like ... Cygwin should have an ancient, but a somewhat usable Perl build. ... It should be possible to cobble together a Perl script that performs the necessary work. ...
    (comp.mail.misc)
  • Re: nss_ldap using sasl with gssapi. Kerberos credentials cache problem[Scanned]
    ... First get a Windows 200x environment with the RFC2307 extensions added to the Schema. ... Next assign all of your *real* Unix users with AD accounts - make the user names conform to the Posix rules (Windows samAccountName) i.e. 8 characters starting with a letter, ... A further enhancement would be to try to access the directory using this file if readable, and if that fails or if the file is not readable then use the KRB5CCNAME environment variable if set and if that fails use the users credentials cache if that exists. ...
    (Fedora)