【发布时间】:2019-08-12 15:51:39
【问题描述】:
我正在尝试获得在嵌入式 Linux 系统上运行的 NETCONF 服务器的 yuma123 开源实现。
NETCONF 服务器使用sshd,而yuma123 似乎假定它是sshd 的openssh 实现,因为它使用/etc/ssh/sshd_config 文件。
特别是yuma123 中的README 文件指出:
Tell sshd to listen on port 830. Add the following 2 lines to /etc/ssh/sshd_config:
Port 830
Subsystem netconf "/usr/sbin/netconf-subsystem --ncxserversockname=830@/tmp/ncxserver.sock"
但是,由于内存限制,嵌入式系统目前使用sshd 的dropbear 缩减实现,并且我很难将openssh(与yuma123 同时安装在嵌入式系统由于可执行文件、依赖库等的大小。
我可以获取/修改dropbear sshd 以提供类似的功能吗?我可以将opensshsshd 大幅缩减到足够小的尺寸吗?关于解决此问题的好方法的任何(其他)建议?
【问题讨论】:
标签: embedded-linux openssh sshd ietf-netconf dropbear