Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:46 Go to next message
John Ellinwood is currently offline John EllinwoodFriend
Messages: 1
Registered: May 2011
Junior Member
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 15:26 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1006
Registered: July 2009
Senior Member
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 .
Next Topic:Remote System Explorer - Am I wrong somewhere?
Goto Forum:
  


Current Time: Tue Sep 25 23:44:06 GMT 2018

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

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

Back to the top