Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]: Add an interactive terminal/shell to the UI #1328

Open
dr-bonez opened this issue Mar 13, 2022 · 3 comments
Open

[feat]: Add an interactive terminal/shell to the UI #1328

dr-bonez opened this issue Mar 13, 2022 · 3 comments
Assignees
Labels
Needs Scoping Requirements are not fully defined P3 - Eventual Things of low consequence to ignore startd Issues pertaining to startd itself UI Issues pertaining to any of the embassy-served web applications

Comments

@dr-bonez
Copy link
Member

dr-bonez commented Mar 13, 2022

goal is to allow the user to run shell commands from the embassy dashboard. additional scoping needed to determine where to put this to limit users accidentally performing unwanted changes.

Only allow to access when dev tools activated.

@dr-bonez dr-bonez added UI Issues pertaining to any of the embassy-served web applications startd Issues pertaining to startd itself Needs Scoping Requirements are not fully defined P2 - Desirable high prioity, nice-to-haves labels Mar 13, 2022
@dr-bonez dr-bonez self-assigned this Mar 13, 2022
@ProofOfKeags
Copy link
Contributor

ProofOfKeags commented Mar 15, 2022

limit users accidentally performing unwanted changes.

sudo rm -rf /* 💣

@chrisguida
Copy link
Contributor

Haha xD

Seems we could limit this to just embassy-cli commands.

Or at least to the start9 user rather than root.

Depends on what the goal of this feature is. What would we like the user to be able to do from the UI?

Seems this was opened to replace the SSH over Tor feature request - when I opened that I was picturing full SSH access.

If we implement full SSH access, we will want this feature to be very hidden.

@MattDHill MattDHill moved this to Todo in eOS 0.3.3 Jul 26, 2022
@MattDHill MattDHill added this to the 0.3.2 milestone Jul 26, 2022
@MattDHill MattDHill assigned k0gen and unassigned dr-bonez and elvece Jul 26, 2022
@alexjyong
Copy link
Contributor

The below could be leveraged or looked into as a way to run this.

https://github.com/shellinabox/shellinabox
and
https://blog.desdelinux.net/en/accede-terminal-servidor-navegador-web/

This may not be a desirable solution to use, as the code is a bit dated, but it at least paints a picture of what I have in my head as to what is going on here.

A more recent solution:
https://github.com/foyzulkarim/terminal-in-browser

@MattDHill MattDHill removed this from eOS 0.3.3 Sep 8, 2022
@MattDHill MattDHill modified the milestones: 0.3.3, 0.3.4 Sep 8, 2022
@elvece elvece removed the P2 - Desirable high prioity, nice-to-haves label Dec 14, 2022
@elvece elvece removed this from the 0.3.4 milestone Dec 14, 2022
@elvece elvece added the P3 - Eventual Things of low consequence to ignore label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Scoping Requirements are not fully defined P3 - Eventual Things of low consequence to ignore startd Issues pertaining to startd itself UI Issues pertaining to any of the embassy-served web applications
Projects
None yet
Development

No branches or pull requests

7 participants