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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -