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?
Hi Weidong,
Wow, building OS for printing hello : )
Thank you.
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
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?
I removed the "... ssh-server-dropbear \ .." from the imx-image-multimedia.bb file and it works with openssh on target now. Thanks.