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.

Bug 74564 - Will not connect to repository requiring id_rsa.pub cert
Summary: Will not connect to repository requiring id_rsa.pub cert
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on: 72613
Blocks:
  Show dependency tree
 
Reported: 2006-04-07 06:37 UTC by santafen
Modified: 2007-01-04 17:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description santafen 2006-04-07 06:37:42 UTC
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.
Comment 1 santafen 2006-04-18 17:09:52 UTC
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.
Comment 2 _ pkuzel 2006-04-19 11:23:58 UTC
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.
Comment 3 ymnk 2006-04-19 13:46:06 UTC
  >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
Comment 4 Maros Sandor 2006-08-02 11:30:27 UTC
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.