Hi,
I am developping a java application which performs a checkout on a cvs
repository which is secured with SSH.
This application must use 100% java libraries. I use these libraries:
- cvs client implementation is javacvs ( netbeans.org)
- SSH layer is JSch (http://www.jcraft.com/jsch/)
I can access the repository using cvs.exe with the setting of
CVS_RSH="C:\program files\TortoiseCVS\TortoisePlink.exe" -i "C:\mykey.ppk"
CVSROOT=:ext:[EMAIL PROTECTED]:/var/lib/cvs
and I don't have to set any password in CVSROOT, I would like to
reproduce it in my program.
My problem is :
In my java program I use a pserver connection over a SSH tunnel,
but I still need to provide the password for CVS connection, which is
not acceptable for this program.
Can anyone help?
Is it possible to connect using pserver without having to provide a
password ?
Is there any more appropriate connection method ?
Is there any documentation about pserver authentication protocol ?
thanks
Guillaume Ramage
Alternatively, you can prompt the user for the password when you need to interact with CVS.
If your problem is a little more complex, let me know and I would be happy to help more. We are experimenting a lot with different ways to integrate Java and CVS so are very interested in other approaches.
==================================================================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.com
http://codeelixir.com
==================================================================
_______________________________________________ info-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/info-cvs
