Connection Error with DRIVEOS 5.2.0

Hi all,

Now, I’m using Nsight System 2020.3.3 (This version is in DRIVEOS 5.2.0 install) in my host Ubuntu 18.04.
While trying connect to DRIVE AGX with DIVEOS 5.2.0, I get the following error.

NVIDIA Nsight Systems
2020.3.3.27-bf764bd Linux

- nvidia@192.168.1.203:

[Error] Communication error
Cannot connect to the target.  Please try again.<br/><br/><hX><b>Hints for fixing communication errors:</b></hX><ol style="margin-left:15px; -qt-list-indent: 0;"><li>Verify network connectivity to the target by pinging it, etc.</li><li>Verify an SSH connection to the target can be established. For Windows targets, see <a href="https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse">Installation of OpenSSH For Windows</a></li></ol>

In more info

SshHandshakeError (4204) {
    OriginalExceptionClass: N5boost16exception_detail10clone_implIN14QuadDSshClient17SshHandshakeErrorEEE
    OriginalFile: /build/agent/work/20a3cfcd1c25021d/QuadD/Common/SshClient/SshSessionHandle.cpp
    OriginalLine: 46
    OriginalFunction: QuadDSshClient::LibSsh2ErrorType QuadDSshClient::SshSessionHandle::Handshake(QuadDSshClient::TcpClient&)
    ApiFunction: libssh2_session_handshake
    ErrorText: Unable to exchange encryption keys
    OriginalErrorCode: -5
}

I checked existing the host-xavier connection by ping and able to connect to target with ssh.
But I cannot have connection with Nsight Systems.

Do you have any hint to solve this problem?

Most likely the problem is that Nsight Systems 2020.3.3 didn’t support ECDSA ciphers. There are two ways to address this:

  • Upgrade to DRIVE OS 5.2.3, which shipped with Nsight Systems 2020.5.2 - it supports ECDSA ciphers such as aes256-gcm@openssh.com
  • Change SSH server configuration on DRIVE AGX devkit

If you would like to try going the second way, here are the recommended steps:

  • Make a backup copy: cp /etc/ssh/sshd_config ~/sshd_config
  • Edit the config file /etc/ssh/sshd_config and comment out lines containing: KexAlgorithms, HostbasedAcceptedKeyTypes, Ciphers, HostKey, AuthorizedKeysFile
  • Regenerate server keys: sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
  • Restart SSH service: sudo systemctl restart sshd

I just checked that 2020.3.3 should display similar text in the GUI like this (the text should be selectable):

image

Does it not show up for you in Nsight Systems prior to connecting to DRIVE AGX?

Thanks for letting us know about the issue!

Thanks for your reply.
I saw the message in the second way and took these steps, but didn’t resolve the problem.
However, there was my mistakes.
I tried again the second way a moment ago, and I confirmed fixing the problem.
Thank you very much for your information!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.