Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Newb Troubles with Connecting to Server
Newb Troubles with Connecting to Server [message #31710] Wed, 11 February 2009 03:47 Go to next message
Dirk is currently offline Dirk
Messages: 5
Registered: July 2009
Junior Member
Good Evening,

I have only recently started using Eclipse (Version: 3.4.1) and I'm trying
to setup SSH or FTP (I'm not sure of the difference to be honest) onto a
school server that's running Fedora 9. I currently use two programs to
connect to the network. One is called SSH Secure File Transfer Client, and
the other is PuTTy. I would like to be able to have the functionality of
those two programs in Eclipse. I believe I have installed TM Stable Build:
3.1M5 by downloading the file, and extracting the contents into the
Eclipse install directory.

My troubles lie in setting up the connection. I have tried creating a New
Connection of type Linux, SSH Only, and Unix, but none of them work. I
enter the server name, but when I try to connect and enter in my user ID
and password, I get the following error message:

Operation failed with exception 'Session.connect:
java.security.NoSuchAlgorithmException: DH KeyPairGenerator not available'

I'm not sure what I'm doing wrong or if I'm even doing anything right.
Thanks for any help you can give, and let me know if you need anymore
information.

Cheers,

-Dirk
Re: Newb Troubles with Connecting to Server [message #31855 is a reply to message #31710] Mon, 16 February 2009 16:20 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 984
Registered: July 2009
Senior Member
Hi Dirk,

it looks like your SSH server requires a Diffie-Hellman ("DH")
algorithm for encrypting your connection, and the Java JRE that
you are using doesn't have that installed.

Our SSH library, JSch, should support DH key exchange, so it looks
like your JRE is somehow incomplete or broken. I'd recommend installing
a new JRE (e.g. http://java.sun.com).

For reference, see also this:
http://sourceforge.net/mailarchive/forum.php?thread_name=DC5 D1608EE88544B9523CED8A7FA11682F95F184%40hxmb01.pnet.ch&f orum_name=jsch-users
and this:
http://www.jcraft.com/jsch/

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Dirk wrote:
> Good Evening,
>
> I have only recently started using Eclipse (Version: 3.4.1) and I'm
> trying to setup SSH or FTP (I'm not sure of the difference to be honest)
> onto a school server that's running Fedora 9. I currently use two
> programs to connect to the network. One is called SSH Secure File
> Transfer Client, and the other is PuTTy. I would like to be able to have
> the functionality of those two programs in Eclipse. I believe I have
> installed TM Stable Build: 3.1M5 by downloading the file, and extracting
> the contents into the Eclipse install directory.
> My troubles lie in setting up the connection. I have tried creating a
> New Connection of type Linux, SSH Only, and Unix, but none of them work.
> I enter the server name, but when I try to connect and enter in my user
> ID and password, I get the following error message:
>
> Operation failed with exception 'Session.connect:
> java.security.NoSuchAlgorithmException: DH KeyPairGenerator not available'
>
> I'm not sure what I'm doing wrong or if I'm even doing anything right.
> Thanks for any help you can give, and let me know if you need anymore
> information.
>
> Cheers,
>
> -Dirk
>
Re: Newb Troubles with Connecting to Server [message #31960 is a reply to message #31855] Mon, 16 February 2009 19:47 Go to previous message
Dirk is currently offline Dirk
Messages: 5
Registered: July 2009
Junior Member
Wow, I updated to JRE Update 12 and everything is working now! I can't
believe it was that simple. Thank you for your help!

Cheers,

-Dirk
Re: Newb Troubles with Connecting to Server [message #579012 is a reply to message #31710] Mon, 16 February 2009 16:20 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 984
Registered: July 2009
Senior Member
Hi Dirk,

it looks like your SSH server requires a Diffie-Hellman ("DH")
algorithm for encrypting your connection, and the Java JRE that
you are using doesn't have that installed.

Our SSH library, JSch, should support DH key exchange, so it looks
like your JRE is somehow incomplete or broken. I'd recommend installing
a new JRE (e.g. http://java.sun.com).

For reference, see also this:
http://sourceforge.net/mailarchive/forum.php?thread_name=DC5 D1608EE88544B9523CED8A7FA11682F95F184%40hxmb01.pnet.ch&f orum_name=jsch-users
and this:
http://www.jcraft.com/jsch/

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Dirk wrote:
> Good Evening,
>
> I have only recently started using Eclipse (Version: 3.4.1) and I'm
> trying to setup SSH or FTP (I'm not sure of the difference to be honest)
> onto a school server that's running Fedora 9. I currently use two
> programs to connect to the network. One is called SSH Secure File
> Transfer Client, and the other is PuTTy. I would like to be able to have
> the functionality of those two programs in Eclipse. I believe I have
> installed TM Stable Build: 3.1M5 by downloading the file, and extracting
> the contents into the Eclipse install directory.
> My troubles lie in setting up the connection. I have tried creating a
> New Connection of type Linux, SSH Only, and Unix, but none of them work.
> I enter the server name, but when I try to connect and enter in my user
> ID and password, I get the following error message:
>
> Operation failed with exception 'Session.connect:
> java.security.NoSuchAlgorithmException: DH KeyPairGenerator not available'
>
> I'm not sure what I'm doing wrong or if I'm even doing anything right.
> Thanks for any help you can give, and let me know if you need anymore
> information.
>
> Cheers,
>
> -Dirk
>
Re: Newb Troubles with Connecting to Server [message #579079 is a reply to message #31855] Mon, 16 February 2009 19:47 Go to previous message
Dirk is currently offline Dirk
Messages: 5
Registered: July 2009
Junior Member
Wow, I updated to JRE Update 12 and everything is working now! I can't
believe it was that simple. Thank you for your help!

Cheers,

-Dirk
Previous Topic:TCF target agent for Visual Studio
Next Topic:TCF - Guide on how to write your own clients?
Goto Forum:
  


Current Time: Sat Oct 25 03:07:07 GMT 2014

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

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