How to send command over SSH from iphone? Any Codi

2019-04-16 10:25发布

问题:

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



标签: iphone ssh nas