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
Post a Comment