CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.61k stars 401 forks source link

Feature Request - launch ssh sessions thou and Android intent #900

Open frog-o opened 5 years ago

frog-o commented 5 years ago

How to use this template: Any line that begins with '#' is a header. Please leave the headers in as is, and fill in the information they suggest below them.

Dear developers,

Describe the issue you are having.

A lot of extra clicking to run my app. if i could launch userland ssh server by an intent it would be easier.

Describe how your task behaves in a regular Linux environment

Na

Describe the problem your feature request solves.

Right now i could not find a way to launch just the "userland ssh service" from android apps(I built). I think by allow developer use intents in there apps you can by pass a bunch of un need dialogs and run what ever program that need in by using "userland ssh server"

*to sum up it would allow for a shh backend and a (android gui) front end.

with an intent this could all be done in one step

1) click on icon to open app and have it do the rest from saved prefrences.

Describe the solution you'd like

I would like to have good documention on using "intent to start userland ssh server". My IDE does not support kotlin. From my understanding Intent should allow you to get the need info to an app developer to start a "userland ssh session" with out understanding you code and allow for people to use the langue they want.

Describe alternatives you've considered

There really not much other alternatives except try to Make a pchroot app myself (not really much fun) or dig though your code and try to do it myself(not really fesible I can not build useland in my ide)

Right now I tring to make an android Ide that uses UserLand in the background to compile my Android apps through a ssh sessions and using android console build tools in the background. I have created an app that draw over other apps a couple of buttons(wich the idea is that i can click on a build button to build my app while I am in whatever text editor I want to use" . I also have my app connect to "userland ssh server" but i have to open "userland ssh server "up a lot by hand each time because i keep accidently closing it.

Thankyou for any help.

frog-o commented 5 years ago

I hope the robbot is smart enough to know i edit the text and gave it what it said was needed information. I thought i followed their instructions the first time and i am not using help.txt but features request. Maybe the line with the '#' confused it?

MatthewTighe commented 5 years ago

The robot is not that smart yet, unfortunately. It's on my to-do list though! This would indeed be a useful feature to have, I'll add it to our backlog.

corbinlc commented 5 years ago

@frog-o there is no such intent built into UserLAnd and it is not on our roadmap yet. Since you are a developer and this is for the purpose of supporting your app, please consider making a PR with a solution for this...the main thing that will have to be considered is the security model. Since we have no plan of working on this currently, I am closing this feature request.

frog-o commented 5 years ago

Can you please reconsider i feel much of your information is missguided.

Even though i am a developer i am not an expert and my ide doses not support kotlin here is a list of misInformation 1.)This was meant to be a feauture request. 2.)This feature was not ment just for me but anyone. 3)it was not for just my app but anyone that would want to lauch your ide thought an intent 4.)I am not that good of a developer.

I feel a little hurt because what is a point of putting feature request in people keep delete it because they feel your lazy(at least that what it looks like to me).I work 12 hours days most days and don't have time or the ability to do it. I have created intents though and it didn't seem that big of things.(i Sorry of it is) my views are a little distorted a lot of time at it maybe more of an undertaking then what it looks like to me(security maybe complicates things).

On Monday, September 9, 2019, corbinlc notifications@github.com wrote:

Closed #900 https://github.com/CypherpunkArmory/UserLAnd/issues/900.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CypherpunkArmory/UserLAnd/issues/900?email_source=notifications&email_token=ALNZ2ZZAMBR6XG4OVYGTKODQI3OPLA5CNFSM4HYR42B2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTQYVTXY#event-2620479967, or mute the thread https://github.com/notifications/unsubscribe-auth/ALNZ2Z6EAVL5JYP5DDQIB6LQI3OPLANCNFSM4HYR42BQ .

corbinlc commented 5 years ago

I wasn't trying to imply that you were lazy. I am sorry if it felt that way. The main issue is simply that I don't plan on doing this work. I will reopen this in case someone wants to pick it up, or it becomes interesting later. As mentioned, the biggest implementation issue that I am concerned about is the security model. We must not allow other apps to arbitrarily run scripts and such without the users permission. So, whoever picks this up, we should talk about how to properly handle this.

frog-o commented 5 years ago

Thank you that's all i wanted is to keep it open. I surely understand why you don't plan on implementing it but i still want to hold up hopes see and discuss things like that. I thought intent allow meta data (wich you can include a passward) and it would just starts the shh server and for a chooses session and that it. The Android app would then use a shh client to run the script is what i wanted to do. It been along time since I made an intent though That may not be wright. Some day i hope of building userland use console tools in userland ssh session. Eclipses is to bloated and buggy IMHO to run on my tablet and aide(my ide i use can't build it). I have created a simple sshclient using jsch i wanted to launch sshserver(still very pre alpha) in userland while still using edittext to edit my text. Unfortunately i don't have time to work on it now i been working 7 day a week for a long time now. Thanks again I don't expect anybody to do stuff that i don't want to do or have time to do" Just a little note From everything i read before I open a PR i am supposed to open an issue and discuss it first (to see if it wanted and to come up with a good design).I was hoping to implement this some day but i think it unrealistic . I thought the step to development were , start feature request , discuss,design and implement but i have a hard time with reading comprehension.