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.

[参考译文] Linux:AM335x 板中的 SSH 问题

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/623824/linux-ssh-issue-in-am335x-board

工具/软件:Linux

我正在从事一个嵌入式项目、其中我们有基于 AM335x 的定制设计电路板。 我们使用了 Arago Yocto 作为构建系统。

现在、SSH 连接存在问题。 我只能使用 PuTTY v0.61/v0.62执行 ssh。 我无法使用其他更高版本的 PuTTy 或我的 Linux 计算机进行 ssh。

有人可以在这里提供帮助吗? 以下是 cmd  ssh -vv root@10.99.19.49的日志

OpenSSH_6.6.1、OpenSSL 1.0.1f 2014年1月6日
调试1:读取配置数据/etc/ssh/ssh_config
debug1:/etc/ssh/ssh_config 第19行:应用*
debug2的选项:SSH_connect:needriv0
debug1:连接到10.99.19.49 [10.99.19.49]端口22。
debug1:连接已建立。
debug3:错误的 RSA1标识符
debug3:无法将"/home/chirag/.ssh/id_rsa 加载为 RSA1公共密钥
debug1:Identity file /home/chirag/.ssh/id_rsa type 1
debug1:Identity file /home/chirag/.ssh/id_rsa-cert type -1
debug1:Identity file /home/chirag/.ssh/id_dsa type -1
debug1:Identity file /home/chirag/.ssh/id_dsa-cert type -1
debug1:Identity file /home/chirag/.ssh/id_ecdsa type -1 debug1
: Identity file /home/chirag/.ssh/id_ecdsa-cert type -1
debug1:Identity file /home/chirag/.ssh/id_ed25519 type -1
debug1:Identity file /home/chirag/.ssh/id_ed25519-cert type -1
debug1:为协议2.0
debug1启用兼容模式:本地版本字符串 ssh-2.0-OpenSSH_6.6.6.6.6.1p1 ubuntui-2ubuntuug2.8
debug1:远程协议版本2.0、远程软件版本 OpenSSH_7.1
debug1:匹配:OpenSSH_400p1:OpenSSH_1.000*在0x40000p1:OpenSSH* bundebug2:
fd 3设置 O_nonblock
debug3:load_hostkeys:从文件"/home/chirag/.ssh/known_hosts



curve25519-sha256@libssh.org
ecdsa-sha2-nistp384-cert-v01@openssh.com ssh-rsa-cert-v01@openssh.com ssh-dss-cert-v00@openssh.com 中加载主机"10.99.19.49"的条目 debug3:load_hostkeys:loaded 0 keys debug1:ssh2_ssh_kEXINIT sent debug1:ssh2_smsg_ds_kexfile_ssnexce-exceps1-ssnexce-exc21,exce-s1-ss-exce-exce-exce-expunice-exci-se-se-exci-se-exce-exci-se-exce-excepsi-si-si-si-si-si-si-si-si-si-si-si-si-si-si-si-from-exci-si-si-si-si-si-si-si-si-si-si-si-si-si-si-from-exci-from-exci-si-si-si-si-si-si-si-si-si-si-si-si-si-si-





zlib@openssh.com zlib@openssh.com hmac-ripemd160@openssh.com umac-128@openssh.com umac-64@openssh.com hmac-md5-96-etm@openssh.com hmac-sha1-96-etm@openssh.com hmac-ripemd160-etm@openssh.com hmac-sha2-512-etm@openssh.com hmac-sha2-256-etm@openssh.com umac-128-etm@openssh.com umac-64-etm@openssh.com hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com hmac-ripemd160@openssh.com umac-128@openssh.com umac-64@openssh.com hmac-md5-96-etm@openssh.com hmac-sha1-96-etm@openssh.com hmac-ripemd160-etm@openssh.com hmac-sha2-512-etm@openssh.com hmac-sha2-256-etm@openssh.com umac-128-etm@openssh.com umac-64-etm@openssh.com hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com rijndael-cbc@lysator.liu.se chacha20-poly1305@openssh.com aes256-gcm@openssh.com aes128-gcm@openssh.com rijndael-cbc@lysator.liu.se chacha20-poly1305@openssh.com aes256-gcm@openssh.com aes128-gcm@openssh.com ssh-rsa-cert-v00@openssh.com ssh-dss-cert-v01@openssh.com ssh-ed25519-cert-v01@openssh.com ecdsa-sha2-nistp521-cert-v01@openssh.com ecdsa-sha2-nistp256-cert-v01@openssh.com
kex_pars_kexinit:
debug2:kex_pars_kexinit:
debug2:kex_pars_kexinit:first_kex_fter 0
debug2:kex_init_kexinit:reserved 0
debug2:kex_pars_kexcr:curve25519-sha256@libssh.org、ecds-nista-nesnatr

aes128-gcm@openssh.com
、chacha20-poly1305@openssh.com chacha20-poly1305@openssh.com aes128-gcm@openssh.com
umac-64-etm@openssh.com、gunic2:kexcr、gie-excr、gie-excr、gie-excr、r2:aes256-gcm@openssh.com aes256-gcm@openssh.com umac-128-etm@openssh.com hmac-sha2-256-etm@openssh.com
umac-128@openssh.com umac-64@openssh.com hmac-sha1-etm@openssh.com hmac-sha2-512-etm@openssh.com hmac-sha2-256-etm@openssh.com umac-128-etm@openssh.com umac-64-etm@openssh.com umac-128@openssh.com umac-64@openssh.com hmac-sha1-etm@openssh.com hmac-sha2-512-etm@openssh.com






Setup hmac-sha1-etm@openssh.com
debug1:kex:Server->client aes128-CTR hmac-sha1-etm@openssh.com none
debug2:Mac_setup:Setup hmac-sha1-etm@openssh.com
debug1:kex:client->server aes128-CTR hmac-sha1-etm@openssh.com none
debug1:sssh2_MSG_KEX_ECDH_init
debug1:期望 SSH2_KEX_ECDH_Reply
Connection 关闭10.19.49 

此致、

Chirag

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

    似乎最新的 PuTTY 版本与 OpenSSH_6.6.1、OpenSSL 1.0.1f 6 JAN 2014版本不兼容。

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

    [引用用户="Kemal R. Shakir]Hello Chirag、

    似乎最新的 PuTTY 版本与 OpenSSH_6.6.1、OpenSSL 1.0.1f 6 JAN 2014版本不兼容。

    此致、
    Kemal

    [/报价]

    您好、Kemal、

    感谢您的快速响应。

    板上的版本详细信息

    root@AM335x-EVM:~# ssh -V
    OpenSSH_7.1p2、OpenSSL 1.0.2h 2016年5月3日

    执行 SSH 的 Linux PC 版本详细信息

    Chirag@PC:$ ssh -V
    OpenSSH_6.6.6.1p1 Uubuntu-2ubuntu2.8、OpenSSL 1.0.1f 2014年1月6日

    在一周左右之前、我可以从相同的位置执行 ssh。

    本周没有重大变化。

    此致、

    Chirag

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    然后调查您的系统发生了什么情况。 检查系统日期是否正确、是否有某些证书未过期、检查贵公司网络中的内容是否未更改。 一切。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Kemal、

    感谢您的建议。
    我尝试了不同的 openssl 服务器方案,但它不起作用。

    最后、我尝试使用 dropBear 而不是 opensh、它起作用了。

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