Codewarrior 11.23 RSE setup in windows?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Codewarrior 11.23 RSE setup in windows?

Jump to solution
1,154 Views
RandyKrakora
NXP Employee
NXP Employee

Using codewarrior to to build apps for ls1012frdm board. I have everything working except RSE ( scp & ssh via codewarrior ). I can scp the file to the board using cygwin tools and ssh to the board also using cygwin tools and putty, but when I try to use codewarrior, I get this error:

Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)

Any clues?

Regards,

Randy Krakora

0 Kudos
1 Solution
918 Views
addiyi
NXP Employee
NXP Employee

This is a limitation of eclipse. As workaround please use:

"The error appears when a 1024 Diffie-Hellman key is necessary on the target and can't be generated based on the existing /etc/ssh/moduli file. Generating the necessary moduli file can be achieved using the following commands: 
ssh-keygen -G moduli-1024.candidates -b 1024 
ssh-keygen -T moduli-1024 -f moduli-1024.candidates 

Continue with replacing the system-wide moduli file with the output file moduli-1024."

Adrian

View solution in original post

2 Replies
919 Views
addiyi
NXP Employee
NXP Employee

This is a limitation of eclipse. As workaround please use:

"The error appears when a 1024 Diffie-Hellman key is necessary on the target and can't be generated based on the existing /etc/ssh/moduli file. Generating the necessary moduli file can be achieved using the following commands: 
ssh-keygen -G moduli-1024.candidates -b 1024 
ssh-keygen -T moduli-1024 -f moduli-1024.candidates 

Continue with replacing the system-wide moduli file with the output file moduli-1024."

Adrian

918 Views
RandyKrakora
NXP Employee
NXP Employee

Thanks Adrian, this worked!

0 Kudos