That is the case. We've been running it on a higher port number, but we want to get it to the default ssh port. I'm hoping there's some way to do so in the app space since it is intended to be an extensible Android shell service. We do have system level access of course since it is our own Android installation. I'm still looking for the best solution. On Sep 3, 2013 10:06 PM, "Raymond Rodgers" <[email protected]> wrote:
> 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 on some [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 Rodgershttp://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 a topic in the > Google Groups "Android Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/android-developers/8jksipFY0O8/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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.

