简体   繁体   English

如何在不重新编译BusyBox的情况下在BusyBox上启用SSH?

[英]How to enable SSH on BusyBox without recompiling BusyBox?

I want to enable SSH service on BusyBox server (currently I can connect only via Telnet), so I think , that I need to compile SSH server , and send it to BusyBox router. 我想在BusyBox服务器上启用SSH服务(目前我只能通过Telnet连接),所以我想,我需要编译SSH服务器,并将其发送到BusyBox路由器。 So my question is - how to create SSH server binary to send it to BusyBox via FTP? 所以我的问题是 - 如何创建SSH服务器二进制文件,通过FTP将其发送到BusyBox?

You're taking a wrong direction. 你的方向错了。

1/ "How to enable SSH on BusyBox." 1 /“如何在BusyBox上启用SSH。”

You can't. 你不能。

2/ And "without recompiling BusyBox?" 2 /并且“没有重新编译BusyBox?”

You won't, because #1. 你不会,因为#1。

Because busybox in itself does not provide an SSH server nor client. 因为busybox本身不提供SSH服务器或客户端。

Now that your question is answered: 现在你的问题得到了回答:

The usual way to add an SSH server to a busybox based system is to add dropbear , first on the list of "tiny utilities whose functionality is not provided by busybox ": 将SSH服务器添加到基于busybox的系统的常用方法是首先在“ busybox未提供其功能的微型实用程序”列表中添加dropbear

https://busybox.net/tinyutils.html https://busybox.net/tinyutils.html

https://matt.ucc.asn.au/dropbear/dropbear.html https://matt.ucc.asn.au/dropbear/dropbear.html

How to compile dropbear (because you will have to ), then install and run on your system is now another topic, on which no one can help you without further details on your target system or your cross toolchain. 如何编译dropbear (因为你必须 ),然后在你的系统上安装和运行现在是另一个主题,没有人可以帮助你没有目标系统或交叉工具链的更多细节。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM