networking - Android bind to privileged port 22 -
i'm working on custom android device needs support ssh. have working service implemented handles incoming ssh connections, have run on port>1024 per linux permission requirements.
is there way run server on port 22?
of course, have system level access. we're trying avoid exposing root access app space security reasons. have way execute root commands, though if it's necessary.
at level android linux information linux applicable. take @ is there way non-root processes bind "privileged" ports on linux?, there accepted answer seems apply recent versions of android.
setcap(8) making system calls, if isn't available on android bundle or @ source , make same system calls.
Comments
Post a Comment