ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julius Davies <>
Subject Re: How to use cvs task with extssh
Date Fri, 21 Jan 2005 18:56:24 GMT

Try connecting to your CVS server directly over ssh (port 22), using
PuTTY.  The same error message will show up, but this time you'll get to
interact with it.  You should only need to do this once to eliminate the
error you are seeing.



On Fri, 2005-21-01 at 15:49 -0200, DataCom - Diego wrote:
> Hi all,
> I am using Ant 1.6.2/Java 1.4.2_05/WinXP/cvsnt and trying to access a 
> remote Linux CVS repository. The supported protocol is extssh, but the 
> checkout is not working. It seems to require some user interaction and I 
> simply do not know what to do. This is the output that is printed and 
> then Ant hangs:
> Buildfile: build.xml
> init:
>       [echo] Today is = 2005-01-21
> checkout:
>        [cvs] The server's host key is not cached in the registry. You
>        [cvs] have no guarantee that the server is the computer you
>        [cvs] think it is.
>        [cvs] The server's key fingerprint is:
>        [cvs] ssh-rsa 1024 77:d8:ef:e9:ba:84:9a:d7:93:cd:cf:dd:8e:d9:00:23
>        [cvs] If you trust this host, hit Yes to add the key to
>        [cvs] PuTTY's cache and carry on connecting.
>        [cvs] If you want to carry on connecting just once, without
>        [cvs] adding the key to the cache, hit No.
>        [cvs] If you do not trust this host, hit Cancel to abandon the
>        [cvs] connection.
> And here is my build.xml:
> <target name="checkout" depends="init">
>    <cvs command="checkout"
>      cvsRoot=":extssh:diego@server:/home/cvsroot/MyProject"
>      package="dmview"
>      dest="${java.source}"/>
> </target>
> Is it anyhow possible to use CVS with extssh in Ant? How do I deal with 
> authentication in this case? Any samples are appreciated.
> Thanks in advance,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message