delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/31/07:22:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3934F4D1.34637F01@vinschen.de>
Date: Wed, 31 May 2000 13:17:37 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
CC: "'Cygwin mailing list" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: BASH and OpenSSH problems
References: <39347BE1 DOT 5181F5E2 AT djh-freeweb DOT de> <200005311055 DOT MAA07817 AT cerbere DOT u-strasbg DOT fr>

Pierre Muller wrote:
> 
>   I am trying to use ssh-agent for Corrina's latest port
> with bash 2.04.
> 
>   I am working on a Win95 machine and I also installed crypt and login package
> as recommended.

???
I never mentioned that crypt and login are needed to
work with ssh. They are needed for the inetutils package.

>   Using ssh-agent does not set the SSH_AUTH_SOCK and
> SSH_AGENT_PID env variables !
> 
>   Do I miss something here ??

Definitely. When you start ssh-agent, you'll have to redirect
it's output to `eval' to get it working. ssh-agent only writes
the environment settings to stdout. The same is true for
`ssh-agent -k'.

Furthermore ssh-agent has no initial private keys. You'll have
to add them using `ssh-add' after starting ssh-agent. You can get
it a bit more convenient with an alias, eg.:

	alias startssh='eval `ssh-agent`; ssh-add'
	alias stopssh='eval `ssh-agent -k`'

or by doing that in your profile.

>   Even worse at exit of BASH, ssh-agent is not being killed and
> I need to kill it with  Crtl-Alt-Suppr :(
> 
>   Is this a known bug ?

No, it's the way described above and it's intentionally.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019