You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by blackwater dev <bl...@gmail.com> on 2005/02/15 20:16:37 UTC

extssh cvs connect

Hello,

I am trying to connect to cvs via ant and am using this line in the cvs task:
cvsRoot=":extssh:blackwater@my.server:/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?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: extssh cvs connect

Posted by Yves Martin <yv...@elca.ch>.
blackwater dev <bl...@gmail.com> writes:

> Hello,
>
> I am trying to connect to cvs via ant and am using this line in the cvs task:
> cvsRoot=":extssh:blackwater@my.server:/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:blackwater@my.server:/usr/local
 or
   CVSROOT=blackwater@my.server:/usr/local
 with
   CVS_RSH=ssh

 In that configuration, the command prompts for a password.

 So I guess you have to use:
  <cvs cvsRoot="blackwater@my.server:/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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org