如何从 iPhone 通过 SSH 发送命令?有任何编码帮助或可用示例吗?

发布于 2024-08-09 02:54:55 字数 125 浏览 2 评论 0原文

NAS 中安装了 SSH,路由器配置为将 SSH 端口转发到 NAS。

如果有人以前做过这样的事情,那么请指导我如何从 iphone 通过 SSH 发送命令? 有没有关于相同的可用代码?

提前致谢 ...

SSH is installed in NAS, Router is configured to forward the SSH port to NAS.

If anybody has done such thing before then just guide me How to send command over SSH from iphone ?
is there any code available regarding the same ?

Thanks in advance ...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无风消散 2024-08-16 02:54:55

在 iPhone 上安装 SSH 客户端,例如 pTerm。我选择此解决方案来偶尔向设备发送命令。

有一个关于编译 libssh2 以在 iPhone 上使用的半成品配方,位于:

< /a>http://sites.google.com/site/olipion/cross -compilation/libssh2

示例可以在 libssh2 网站上找到

http://www.libssh2.org/examples/

Install an SSH client on you iPhone, e.g. pTerm. I choose this solution for sending the occasional command to an appliance.

There is a somewhat half baked recipe on compiling libssh2 for use on the iPhone at:

http://sites.google.com/site/olipion/cross-compilation/libssh2

Examples can be found on the libssh2 website

http://www.libssh2.org/examples/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文