ios - How to use SSH on iPhone -


i trying create iphone app connects linux machine. app should send command via ssh linux machine. using system("ssh david@192.xxx.x.xx gpio write 0 0" command doesn't include password, log response access denied. know how ssh linux machine password?

the way achieve want on not jailbroken devices use lib http://www.libssh.org implement ssh login within app. can find examples on how implement there : http://api.libssh.org/master/libssh_tutor_guided_tour.html


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -