How to send command over SSH from iphone? Any Coding help or Sample Available?

∥☆過路亽.° 提交于 2019-12-06 12:48:08

问题


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 ...


回答1:


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/




回答2:


https://github.com/x2on/libssh2-for-iOS might help you



来源:https://stackoverflow.com/questions/1624429/how-to-send-command-over-ssh-from-iphone-any-coding-help-or-sample-available

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!