On 09/03/2013 02:47 PM, Alex Avance wrote:
I am working on a custom device running Android that needs to support
ssh access. It would be best to run the ssh server on port 22. We have
a working SSH implementation, but we can't run it on port 22 right
now. Is there a way to do so using system level APIs, or will I need
to get root/create my own something in the framework?
I'm not 100% sure this applies to Android, but onsome [or all] Linux
distributions, applications trying to bind on ports below 1024 (or so)
usually require elevated privileges, such as being run by root or one of
the "system" users. It's possible that this is a requirement on Android
as well, since it's based on Linux. As a test, try binding to a port
above 1024 and see if it works.
--
Raymond Rodgers
http://www.badlucksoft.com/
http://anevilgeni.us/
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.