Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <200005311235.OAA09466@cerbere.u-strasbg.fr> X-Sender: muller AT ics DOT u-strasbg DOT fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Date: Wed, 31 May 2000 14:14:26 +0200 To: cygwin From: Pierre Muller 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 13:17 31/05/00 +0200, Corinna Vinschen wrote: >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. Whoops, sorry, I mixed bothg :( >> 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'. I am not very familair with UniXy Shells but I didn't find any mention of this in the man page ! >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`' I did that , it works correctly for setting the env variables, but I still obtain the following output from ssh-add: Could not open a connection to your authentification agent ssh-agent is still running it has the correct PID (the value of SSH_AGENT_PID) HOME env var is also set. Any idea what is still wrong ?? Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller AT ics DOT u-strasbg DOT fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com