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.

[参考译文] AM5728:AM5728:SSH 问题

Guru**** 1950750 points
Other Parts Discussed in Thread: AM5728
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1101175/am5728-am5728-ssh-issue

器件型号:AM5728

您好 

我已经按照您的建议在定制板上移植了 sshd。 然而,我现在和现在都面临这一问题。

除了相关主题中的观察结果外、以下是我的新观察结果-

1.我 尝试通过电缆将电路板直接与 PC 相连、然后设置静态 IP、从而消除网络的其余部分。 但是、当问题出现时、此测试用例也不起作用。

2.当 ping 操作失败时,即使重新启动 sshd 也不起作用。

3.我尝试按照许多开放源码论坛上的建议更改客户端和服务器上的 MTU,但仍然不起作用。

4.我尝试删除所有加密模块(rmmod cryptodev.ko、cryptd.ko、cryptoEngine .ko、omap_aS.ko、omap_des.ko、omap_shak.ko)并重新启动 sshd、但仍然无法正常工作。

5.另 一个重要的观察结果是,当 ssh 失败并且 ping 正常工作时,ping 只适用于 较小大小(最大118字节)的数据包,除此之外没有任何内容。

我将日志附加到基于 AM5728的客户机(192.168.21.28)自定义主板和服务器(192.168.21.26) PC 上-

在服务器上-

(卡在"SSSH2_MSG_KEXINIT Sent (SSH2_MSG_KEXINIT 已发送)"上)

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
root@dti7de14-014:/home/user# ssh -vvv root@192.168.21.28
OpenSSH_7.6p1 Ubuntu-4ubuntu0.6, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "192.168.21.28" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.21.28 [192.168.21.28] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

在客户端-

(卡在"期望 SSH2_MSG_KEX_ECDH_INIT [preauth]"上)

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
root@am57xx-evm:/tmp# cat a.log
debug1: Forked child 9392.
debug1: Set /proc/self/oom_score_adj to 0
debug1: rexec start in 6 out 6 newsock 6 pipe 8 sock 9
debug1: inetd sockets after dupping: 5, 5
Connection from 192.168.21.26 port 44364 on 192.168.21.28 port 22
debug1: Client protocol version 2.0; client software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.6
debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.6 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug1: Local version string SSH-2.0-OpenSSH_7.9
debug1: permanently_set_uid: 1002/1002 [preauth]
debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug1: kex: algorithm: curve25519-sha256 [preauth]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256 [preauth]
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

解决此问题对我们的产品至关重要。

请确认。

此致、

Devashish

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我正在等待您回复此帖子。  

    请确认。

    BR、

    Devashish

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    是否有此问题的更新?

    有人在找吗?

    请确认。

    此致、

    Devashish

x 出现错误。请重试或与管理员联系。