L5.4.47_2.2.0_MX8MQ SSH problem

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

L5.4.47_2.2.0_MX8MQ SSH problem

2,232 Views
brsmnc
Contributor II

Hi, I have an IMX8M EVK board. 

I want to build and run a basic hello world application on target. My host machine is win10. I tried visualgdb with visual studio 2019 but smarttty gives "LIBSSH2 returned LIBSSH2_ERROR_KEX_FAILURE" error.

I also tried ARM Development Studio but this time I'm getting error "Failed to connect sshd on [IP Addr]:22 Algorithm negotiation fail" when trying to connect 

But I can connect with putty and mobaxterm using SSH.

Do you have an idea? What should I do?

 

 

Labels (1)
0 Kudos
4 Replies

2,196 Views
brsmnc
Contributor II

Hi Weidong,

Wow, building OS for printing hello : ) Currently I'm trying to get used to Yocto. Is there any ready to build packages ( ie L5.4.47) on somewhere like git servers for IMX8MQ EVK board?

Thank you.

0 Kudos

2,220 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi brsmnc,

    You can try to compile Linux image for i.MX8MQ with Yocto, and add corresponding packages to local.conf like below:

You can add these packages to file build/conf/local.conf as

.......

IMAGE_INSTALL_append += " packagegroup-core-ssh-openssh openssh-sftp-server "

......

above lines will make linux image  support ssh.

 

Have a nice day!

B.R,

Weidong

 

 

0 Kudos

2,170 Views
brsmnc
Contributor II

Hi again,

 

I tried that but bitbake failed. I think openssh and dropbear are conflicted.

The following packages have unmet dependencies:
packagegroup-core-ssh-dropbear : Depends: dropbear but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 

How can I resolve that?

0 Kudos

2,161 Views
brsmnc
Contributor II

I removed the "...  ssh-server-dropbear \ .." from the imx-image-multimedia.bb file and it works with openssh on target now. Thanks.

0 Kudos