Rambo
Rambo

Reputation: 591

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

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

Upvotes: 1

Views: 4273

Answers (2)

Mohith Km
Mohith Km

Reputation: 2079

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

Upvotes: 1

Niels Castle
Niels Castle

Reputation: 8069

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/

Upvotes: 5

Related Questions