This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans 5.0 CVS module will NOT connect to a cvs repository that requires rsa certificate. Using the internal ssh, it returns *immediately* with "incorrect username or password" error. Using external ssh never returns. Hangs *forever* with "connecting..." but never connects.
using external ssh command /usr/bin/ssh which resolves to: OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005 This ssh version will connect to cvs via command line, just not through NetBeans.
D. Simmons wrote: this is with Mac OS X 10.4.6 (both Intel and PPC) There are no log files, etc. of the failure, because it never *fully* fails. We are using ssh with rsa keys. There is no place (that I can find) to select the specific id_rsa key for the server, and it simply fails. Using the 'internal' ssh, it returns instantly with "wrong username or password" message -- and no network traffic to the host that I can see. Using the 'external' ssh it simply says "trying to connect" forever. And I DO mean forever. I left it running overnight once, and it never comes back. I have to kill netbeans to get it to quit. Pavel are you able to reproduce on your Mac, please? To David try to point to external binary that simply stores actual parameters and returns. What parameters does it get? What does happen if passed to real ssh.
>NetBeans 5.0 CVS module will NOT connect to a cvs repository that requires rsa certificate. >Using the internal ssh, it returns *immediately* with "incorrect username or password" error. At least, the internal ssh does not support the public key authentication, according to the source code[1] on netbeans.org's CVS repository. [1] http://javacvs.netbeans.org/source/browse/javacvs/cvsmodule/src/org/netbeans/mo dules/versioning/system/cvss/SSHConnection.java
Internal client does not support private key authentication yet. But using external command should always be a workaround. To verify that your external command is working properly, copy-paste it from NetBeans to command line... 1) run you command, say "cvstunnel" (this script/command must connect to your ssh server automatically without asking for passwords or be interactive in any way) 2) type "nop" [ENTER] 3) the server should respond with "ok" If this works from command line and not from NetBeans, it's a bug.