Every time I go back and try to do anything with Netbeans+SourceForge CVS I get a headache because I can't remember the exact command strings needed to get private key authentication... Smiley, do you happen to remember (or have it in Netbeans settings somewhere)? I know it's something like:
CVS Root (easy part):
:ext:jonathancrosmer@invadeearth.cvs.sourceforge.net :22/cvsroot/invadeearth
External Shell:
"C:\Program Files\Putty\plink.exe" -l jonathancrosmer -i "C:\Documents and Settings\Jonathan Crosmer\My Documents\SourceForge Keys\SourceForge-Shell.ppk"
It always gives a generic error... I'm pretty sure I'm doing something wrong with the "external shell" but I don't know what. I've been Googling for answers but haven't cracked it yet.
I can get this far with just "plink -2 jonathancrosmer@invadeearth.cvs.sourceforge.net"
(-2 = use ssh2 key, and I'm running pageant):
Using username "jonathancrosmer".
Last login: Wed Oct 24 07:58:14 2007 from pcp080489pcs.unl.edu
Welcome to *.cvs.sourceforge.net
This is a restricted Shell Account
You cannot execute anything here.
... which means the key is working.
I can even execute a cvs command if I append it (i.e. "cvs --help-options") ... but for some reason Netbeans doesn't like "plink -2" as a command. (it's supposed to append the username/server/cvs command by itself)
Re: cvs
What happens when you try to run the PuTTY command from the command line? You may need to re-verify the remote key.
You may be able to set up a saved session and use that instead of passing command-line options, or you can use Pageant to save the key information.