DH key size must be multiple of 64, and can only range from 512 to 2048 (inclusive).


 
Thread Tools Search this Thread
Operating Systems Solaris DH key size must be multiple of 64, and can only range from 512 to 2048 (inclusive).
# 1  
Old 11-02-2016
DH key size must be multiple of 64, and can only range from 512 to 2048 (inclusive).

Hello,
I have a set-up in which I am executing a build from Jenkins on a Solaris 10 Server connecting via sshexec task in ANT.

On triggering the build, it is throwing below error:

Code:
com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException: DH key size must be multiple of 64, and can only range from 512 to 2048 (inclusive). The specific key size 2047 is not supported.

After some google search, I came to know that it might be fixed by updating to Java 8. I did that, however, still no success.

Can anyone please let me know how to fix it?

Thanks,
Nishant

Last edited by rbatte1; 11-02-2016 at 12:22 PM.. Reason: Aded CODE tags and corrected spelling
# 2  
Old 11-02-2016
Where in the build is the specific DH key size of 2047 defined? Did you search the source/config files/make files?
# 3  
Old 11-02-2016
This is the build script that I am executing via Jenkins.

Code:
<sshexec host="my.host.com" 		username="myuser" 		password="mypass" 		command="touch somefile" 		trust="true" />

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display lines between keywords inclusive

Hi, I have a file that contains a lot of lines that are repetitive. I am interested in grepping the following section which is repetitive. ::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::: <Address> <Street>xxxy</Street> ... (3 Replies)
Discussion started by: jakSun8
3 Replies

2. Solaris

Usbcopy fails with the error message sol-11_1-live-x86.usb is not a multiple of 512

I am trying to create a live image of solaris 11.1. I have used #pkg image-update to upgrade from 11 to 11.1 already. (since only 11.1 can make images of 11.1 due to using new grub) then from within 11.1 I used pkg install install distribution-constructor to get latest usbcopy that should be... (1 Reply)
Discussion started by: taltamir
1 Replies

3. Shell Programming and Scripting

List of files in a folder inclusive subfolder

Hi, I need to list the names of existing files in a specific folder. I have written a script for that, but the problem is, it is also picking up name of a subfolder that is there in that folder. I need only the list of files and not that subfolder. How to go about that ? Can anyone plz help... (2 Replies)
Discussion started by: Subhasis
2 Replies

4. Programming

hsearch_r for multiple with same key

Folks, I have a problem with using the hashtable. my hash table will have to store 2 entries with different data values and same key. key data ----------- steps 34 steps 1024 Code: hsearch_r(entry, FIND, &found, &hashtable); the problem is whenever I do search(hsearch_r) for... (2 Replies)
Discussion started by: tamil.pamaran
2 Replies

5. Solaris

Multiple private key to be uploaded

I would like to ask if you have a procedure on how to upload multiple private key for multiple users in solaris? I was only able to add one but when I tried to add several key, it fails. example: a. user1: user1.ppk b. user2: user2.ppk Each with different password on the server. Pls advise (6 Replies)
Discussion started by: lhareigh890
6 Replies

6. Shell Programming and Scripting

perl hash - using a range as a hash key.

Hi, In Perl, is it possible to use a range of numbers with '..' as a key in a hash? Something in like: %hash = ( '768..1536' => '1G', '1537..2560' => '2G' ); That is, the range operation is evaluated, and all members of the range are... (3 Replies)
Discussion started by: dsw
3 Replies

7. Solaris

multiple displays of characters with one push of the key.

Hi, I have a Ultra5 440MHz system running Solaris 2.6 (Rev 5.6) and have a problem with the keyboard. When I push a key it prints characters very quickly. If I push a key very fast I get maybe 3 characters. So, I am thinking bad keyboard. I borrow a known good keyboard, samething and the... (3 Replies)
Discussion started by: mndavies
3 Replies

8. UNIX for Advanced & Expert Users

Line Longer Than 2048 Charcters

I have a csv file with a record size of greater than 2048.So when i try to open the file in VI..This is the error i get (test.csv" A line cannot be longer than 2048 characters) Is there a way i can change this parameter to read a bigger line (2 Replies)
Discussion started by: kris01752
2 Replies

9. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

10. UNIX for Dummies Questions & Answers

2048 files/directory in Unix Sco ?

I found my directories to be filled with 2048 files. The number of files per directory is not exceeding this number. Is this the default and what should i do to increase it? Regards (3 Replies)
Discussion started by: BAM
3 Replies
Login or Register to Ask a Question