blackwater dev <[EMAIL PROTECTED]> writes:

> Hello,
>
> I am trying to connect to cvs via ant and am using this line in the cvs task:
> cvsRoot=":extssh:[EMAIL PROTECTED]:/usr/local"
>
> But I get the error:
>
>       [cvs] cvs checkout: Unknown method (`extssh') in CVSROOT.
> and then bad cvsRoot.
>
> I am running ant 1.5.2.23.  Can I not use extssh?

 The 'cvs' command tool requires
   CVSROOT=:ext:[EMAIL PROTECTED]:/usr/local
 or
   [EMAIL PROTECTED]:/usr/local
 with
   CVS_RSH=ssh

 In that configuration, the command prompts for a password.

 So I guess you have to use:
  <cvs cvsRoot="[EMAIL PROTECTED]:/usr/local"
       cvsRsh="ssh"
    ...

 As 'cvs' task does not provide a way to intercept password prompt, you have to
 install a public key on the server to authenticate without a password prompt.
 
 Hope this helps
-- 
Yves Martin


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

Reply via email to