ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattos, John" <jmat...@Indemand.com>
Subject CVS Over SSH - Setting the Protocol?
Date Thu, 28 Aug 2003 14:01:42 GMT

Hi

How do I set the protocol that ANT is using in the CVS command? I have an
SSH 1 Key that I'm using, and I want to force ant to use it. I think that's
the problem, at least. When I run my script, I get prompted for the user's
password, yet, I'm supplying a passfile.

Task:
<!-- CVS Properties -->
  	<property name="cvssrc" location="${src}/indabWeb/source"/>
  	<property name="cvsRoot"
value=":ext:buildmaster@VC30:/usr/local/indab"/>
  	<property name="cvsRsh" location="bin\putty\plink.exe"/>
  	<property name="passFile" location="bin\putty\rsa\key"/>

<!-- CVS Command -->
<cvs command="checkout -N" cvsRoot="${cvsRoot}" cvsRsh="${cvsRsh}"
compressionlevel="9" tag="${indab.label}"
     		passfile="${passFile}" package="indabWeb" dest="${src}"/>
Output:

cvsByTag:

     [copy] Copying 1 file to C:\Documents and Settings\jmattos\My
Documents\Projects\ReleaseFramework
     [echo] Using Label=
      [cvs] Using cvs passfile: C:\Documents and Settings\jmattos\My
Documents\Projects\ReleaseFramework\bin\putty\rsa\key
      [cvs] Access denied
      [cvs] Access denied
      [cvs] Access denied
      [cvs] FATAL ERROR: Strange packet received during authentication: type
1
      [cvs] cvs checkout: warning: unrecognized response `buildmaster@VC30's
password:
      [cvs] ' from cvs server
      [cvs] cvs checkout: warning: unrecognized response `buildmaster@VC30's
password:
      [cvs] ' from cvs server
      [cvs] cvs checkout: warning: unrecognized response `buildmaster@VC30's
password:
      [cvs] ' from cvs server
      [cvs] cvs checkout: warning: unrecognized response `buildmaster@VC30's
password:
      [cvs] ' from cvs server
      [cvs] cvs [checkout aborted]: end of file from server (consult above
messages if any)

Thoughts?

John

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message