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
Solved! Go to Solution.
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
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
Thanks Adrian, this worked!