I am running this on WindowsXP, so I don't believe have a .bashrc file anywhere.
-----Original Message----- From: J�rg Schaible [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 8:30 AM To: Maven Users List Subject: RE: maven and ssh 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] Disclaimer: This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify us immediately by e-mail and delete the original message. This e-mail expresses views only of the sender, which are not to be attributed to Rite Aid Corporation and may not be copied or distributed without this statement. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
