Jason Roscoe wrote on Friday, November 12, 2004 2:14 PM:

> Nope, this didn't help.  I downloaded the 2 scripts here and
> it still got hung.  I have also tried using plink and pscp
> (with pageant) and I get the exact same results, that's why I tried
> downloading OpenSSH. 

So did you start the ssh-agent? I use a Cygwin environemnt and I have something 
like:

====== %< =======
if test -z "`pidof ssh-agent`"; then
    keychain ~/.ssh/id_dsa
    . ~/.keychain/<user>-sh
    keychain-setwin
else
    . ~/.keychain/<user>-sh
fi
====== %< =======

in my .bashrc. With keychain-setwin beeing:

====== %< =======
#!/bin/sh

regtool -s set /machine/SYSTEM/CurrentControlSet/Control/Session\ 
Manager/Environment/SSH_AUTH_SOCK $SSH_AUTH_SOCK
regtool -s set /machine/SYSTEM/CurrentControlSet/Control/Session\ 
Manager/Environment/SSH_AGENT_PID $SSH_AGENT_PID
====== %< =======

to inject the environment values via the registry that they are available for 
Win apps. With these settings I can use Maven to deploy via ssh/scp and Eclipse 
with external ssh for cvs.

I am currently not sure, wether plain OpenSSH is based on Cygwin or not, IIRC 
it is. So you have to invoke key-chain to start the ssh-agent (or figure out 
the command line for ssh-agent) and you'll have to set the proper environemtn 
variables.

- J�rg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to