Skip to main content



      Home
Home » Eclipse Projects » Target Management » NPE trying to make SSH terminal connections(An NPE is thrown when attempting to make a Target Manager terminal connection using SSH. The NPE occurs when the ~/.ssh/id_rsa private key is of the encrypted PKCS#8 format.)
icon11.gif  NPE trying to make SSH terminal connections [message #1720116] Thu, 14 January 2016 09:46 Go to next message
Eclipse UserFriend
I'm trying to use the Target Management Terminal view to create an SSH connection with username/password. I'm running into an NPE when I happen to have a PKCE#8 formatted ~/.ssh/id_rsa private key, even though I only want to use username/password to make the connection. The only way I can make the connection work is to delete my id_rsa file, which I don't want to do.

I posted bug reports with eclipse and with jsch, since it seems like there should be fixes in both projects.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=485774

I can't post the JSCH bug report link. See the eclipse report comment for a link to the JSCH report.
Re: NPE trying to make SSH terminal connections [message #1720311 is a reply to message #1720116] Sat, 16 January 2016 10:26 Go to previous message
Eclipse UserFriend
Many thanks for the report, and diligent research !

I think the issue is in JSch, but there is a workaround. See my comment on
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485774#c3 .
Previous Topic:RSE does not recognize symlinks
Next Topic:Remote System Explorer - Am I wrong somewhere?
Goto Forum:
  


Current Time: Sat Jul 12 16:03:55 EDT 2025

Powered by FUDForum. Page generated in 0.23764 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top