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.

[参考译文] AM3354:禁用从 ssh 登录。

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1005713/am3354-disable-login-from-ssh

器件型号:AM3354

大家好、

我已关闭对在 Linux 4.9内核版本上运行的自定义主板的登录。 我能够删除 systemd 服务文件以停止从 UART 登录。 我还想禁用从 ssh 登录。 我在互联网上找到了一个解决 方案、即在/etc/ssh/sshd_config 中添加 PermitRootLogin no、问题是我的板上没有 SSHD、我只有 ssh 并且能够从其他主机登录。 apt-get 和 opkg 无法正常工作、因此我无法安装 sshd。 我尝试使用 IPK 文件、但有很多依赖项、我无法找到所有依赖项。  

root@Htouch:/# ssh -V
Dropbear v2016.74

我不想禁用以太网和 USB 以太网、 我希望它们处于活动状态并阻止以 root 身份登录。  

除了安装 sshd 和使用其配置文件之外,还有什么方法可以阻止登录。

谢谢、

-kris。

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

    您好!

    不再支持 Linux 内核版本。  

    您似乎正在将 Dropbear 用于 ssh 服务器。 查看有关 dropbear 的手册页以及如何配置该手册页、这应该会有所帮助。 这实际上是一种标准的 Linux 配置、不是 TI 定制。

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