Codewarrior 11.23 RSE setup in windows?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Codewarrior 11.23 RSE setup in windows?

跳至解决方案
1,985 次查看
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 项奖励
回复
1 解答
1,749 次查看
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

在原帖中查看解决方案

2 回复数
1,750 次查看
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

1,749 次查看
RandyKrakora
NXP Employee
NXP Employee

Thanks Adrian, this worked!

0 项奖励
回复