如何通过SSH从iPhone发送命令?有任何编码帮助或样品可用吗? [英] How to send command over SSH from iphone? Any Coding help or Sample Available?

查看:91
本文介绍了如何通过SSH从iPhone发送命令?有任何编码帮助或样品可用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

如果有人以前做过这样的事情,那就指导我如何从iPhone通过SSH发送命令? 是否有关于同一代码的可用代码?

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 ?

预先感谢...

推荐答案

在iPhone上安装SSH客户端,例如pTerm.我选择这种解决方案将偶然的命令发送到设备.

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

关于编译libssh2以便在iPhone上使用的方法,有一些未完成的地方:

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

可以在libssh2网站上找到示例

Examples can be found on the libssh2 website

> 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆