start-os icon indicating copy to clipboard operation
start-os copied to clipboard

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

Open dr-bonez opened this issue 3 years ago • 3 comments

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 avatar Mar 13 '22 00:03 dr-bonez

limit users accidentally performing unwanted changes.

sudo rm -rf /* 💣

ProofOfKeags avatar Mar 15 '22 17:03 ProofOfKeags

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.

chrisguida avatar Mar 16 '22 15:03 chrisguida

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

alexjyong avatar Aug 08 '22 20:08 alexjyong