This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM69A: SSH "Algorithm negotiation fail" error in CCS

Part Number: AM69A
Other Parts Discussed in Thread: AM5728, AM69

Hi,

I'm having SSH issue while connecting AM69A board to CCS 12. A same issue is stated in  https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1225890/tda4vl-q1-not-possible-to-connect-in-remote-systems-via-ssh. I'm also using no proxy for establishing network connection. Additionally, there is no problem while connecting by ubuntu terminal. I have already applied steps pointed by this thread https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1030387/tmdssk3358-remote-system-explore-ssh-failure/3833065#3833065. Is there a solution for CCS-based ssh connection or any configuration advice? My configuration is as following:

  • Ubuntu 22.04
  • Code Composer 12.4/5 (i have tried both of them)
  • Remote System Explorer End-User Runtime 4.5.300.202101081641

Thanks in advance

  • Hello,

    Is there a solution for CCS-based ssh connection or any configuration advice?

    Unfortunately I don't have anything new to add beyond what I already mentioned in those other two threads. The RSE plugin is not something that is developed or supported by TI.

    ki

  • Hi,

    We have been running SSH over CCS 9.3 with AM5728 EVM for many years. In order to check whether CCS 9.3 can communicate with AM-69A, we have tried to establish SSH connection on it. However, in this case CCS 9.3 gave the same "Algorithm Negotiation fail". Do you think of that this approach points that the issue is related to SDK version on AM69A? Please note that we are running current SDK version which is 09_01_00_06.

  • Do you think of that this approach points that the issue is related to SDK version on AM69A? Please note that we are running current SDK version which is 09_01_00_06.

    If you use an older SDK, does everything still work?

  • We have generated same issue by trying SDK 09.00.00.08, which is one of the older versions. CCS gives the same error for this SDK version too. Additionally, in this case Ubuntu terminal could not achieve to establish SSH connection, by giving following error: "Unable to negotiate with <ip_address_of_board> port 22: no matching host key type found. Their offer: ssh-rsa" . After adding "rsa" to Ubuntu ssh config file, the problem is solved for ssh connection over terminal, however it exists for CCS-based connection.  

  • We have generated same issue by trying SDK 09.00.00.08, which is one of the older versions.

    Ok, but this version used to work in the past with 9.3.0? You mentioned you once had a working environment. Was it with this SDK? On the same Ubuntu machine?

  • Let me clarify our working environment (WE) and test environment(TE):

    WE--> CCS: 9.3 / Board: TI AM5728 Evm / SDK:06.03.00.106  / Host Machine: Ubuntu 18.04 (SSH connection is set)

    TE-->  CCS:9.3 / Board: TI AM 69A Evm / SDK:09.01.00.06 (most current) or 09.00.00.08 / Host: Ubuntu 18.04 (SSH connection is not set)

    In brief, in our last test, we have used same host machine and CCS in order to check whether we can establish ssh connection with AM69A. Even if it is recommended to use CCS 12.4 for code compilation or debugging for AM69A, can we expect that CCS 9.3 should be able to establish ssh connection with AM69A?

  • WE--> CCS: 9.3 / Board: TI AM5728 Evm / SDK:06.03.00.106  / Host Machine: Ubuntu 18.04 (SSH connection is set)

    TE-->  CCS:9.3 / Board: TI AM 69A Evm / SDK:09.01.00.06 (most current) or 09.00.00.08 / Host: Ubuntu 18.04 (SSH connection is not set)

    It is interesting that the change in board/SDK is causing the failure. It could be an issue with differences in the configuration of the linux kernel running on each target. I don't have much more to offer here. Perhaps the SDK experts can chime in. I will bring this thread to their attention

  • Hi Yasin,

    WE--> CCS: 9.3 / Board: TI AM5728 Evm / SDK:06.03.00.106  / Host Machine: Ubuntu 18.04 (SSH connection is set)

    TE-->  CCS:9.3 / Board: TI AM 69A Evm / SDK:09.01.00.06 (most current) or 09.00.00.08 / Host: Ubuntu 18.04 (SSH connection is not set)

    SSH from PC to AM69 works on our side. I am not sure if that is what you are looking for.

    - Keerthy

  • Hi,

    Do you mean SSH over CCS by saying "SSH from PC to AM69" or a connection established by ubuntu terminal? We have already achieved to connect AM69A by SSH on ubuntu terminal.

  • Yasin,

    Sorry then what is not working w.r.t SSH on AM69?

    - Keerthy

  • Hi Keerthy,

    The issue is that we cannot establish SSH connection by running CCS 12, as i have summarized in my previous post by comparing our working (WE) and test environment (TE). Do you think of that the issue arises from differences in kernel versions (i.e. SKDs) or any CCS-related settings? 

    Thanks

  • Hi Yasin,

    Can you provide clarifications for the following question?

    • Which debugger are you using? How is it connected to the PC?
    • With the RSE, is the ssh connected over the debugger itself or do you have a separate ethernet connection?
    • Can you check if on AM57, you have daemon named DataStore is running.
    • Can you provide a list of services and sockets on both AM57 and AM69 (use command "systemctl list-units --all" to get the list)

    I am assuming here that you have linux running on the evm.

    Regards,
    Tanmay