This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: BASH and OpenSSH problems


Pierre Muller wrote:
> At 13:17 31/05/00 +0200, Corinna Vinschen wrote:
> >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 !

Nope. Look at the SYNOPSIS section. There's the example using `eval'.
 
> >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

Good news: I can reproduce that. Bad news: It's only on W9X
and I don't know why. I will investigate that.

Corinna

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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]