info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pserver over ssh with no password to provide


From: Guillaume Ramage
Subject: pserver over ssh with no password to provide
Date: Tue, 29 Aug 2006 17:53:07 +0200
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

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:address@hidden:/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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]