Reputation: 6608
I m looking for a way to run ssh commands from iOS is there a simple and basic way? As NSTask() is not available on iOS, its just for a need to send a 2 lines of ssh to a RaspberryPi.
Upvotes: 1
Views: 5682
Reputation: 5683
A possible workaround could be using the Objective C NMSSH library by following the guide in this StackOverflow answer . Further, maybe you should also take a look at "Adding Swift bridging header" (if using NMSSH is an option) as referenced in following issue
Upvotes: 2