SSH -> docker gateway #10

Open
opened 2020-09-11 16:36:35 +00:00 by 3wordchant · 6 comments
Owner

Getting a shell is pretty easy using abra, but we could make it even easiser for users if we had an SSH jump server, e.g. look what happens when you SSH into your Layershift account:

Please select the required environment available for user@domain.org
                                                                 Status         Alias                                   
  0. Quit
  1. Refresh

  ENV GROUPS
  2. [My Project] [0]:(0)                                                                                         

  UNGROUPED ENV
  3. site1.j.layershift.co.uk                      Running                                                
  4. site2.j.layershift.co.uk                      Running                                                
  5. site3.j.layershift.co.uk                      Stopped                                                
  6. site4.j.layershift.co.uk                      Running                                                
  7. multisite.j.layershift.co.uk                  Stopped                                                

Enter [0-7]: 
Getting a shell is pretty easy using `abra`, but we could make it _even easiser_ for users if we had an SSH jump server, e.g. look what happens when you SSH into your Layershift account: ``` Please select the required environment available for user@domain.org Status Alias 0. Quit 1. Refresh ENV GROUPS 2. [My Project] [0]:(0) UNGROUPED ENV 3. site1.j.layershift.co.uk Running 4. site2.j.layershift.co.uk Running 5. site3.j.layershift.co.uk Stopped 6. site4.j.layershift.co.uk Running 7. multisite.j.layershift.co.uk Stopped Enter [0-7]: ```
Owner

Oh, interesting. Is that a separate script that runs when you SSH into the box?

Oh, interesting. Is that a separate script that runs when you SSH into the box?
Author
Owner

Is that a separate script that runs when you SSH into the box?

I think so, I guess it's set as the login shell?

Maybe if we made abra have e.g. an --ssh mode where it launches this interface, and then set that?

Might only be useful when we have some kind of user groups going, tho, at the risk of making SSH more complicated for minimal benefit..

> Is that a separate script that runs when you SSH into the box? I think so, I guess it's set as the login shell? Maybe if we made `abra` have e.g. an `--ssh` mode where it launches this interface, and then set that? Might only be useful when we have some kind of user groups going, tho, at the risk of making SSH more complicated for minimal benefit..
Author
Owner
https://github.com/moul/ssh2docker
3wordchant changed title from SSH jump server? to SSH -> docker gateway 2020-09-19 12:54:48 +00:00
3wordchant added the
enhancement
label 2020-09-24 23:15:15 +00:00
decentral1se removed the
enhancement
label 2020-10-27 08:09:46 +00:00
3wordchant added the
design
label 2021-03-02 22:08:53 +00:00
Owner

There are loads of rad CLI/TUI libs for golang so maybe this would be a nice stop gap between a fully blown web GUI? I've seen some really nice TUIs that are totally workable before.

We're still waiting on the NLNet grant for the web UI funding tho 😀

There are *loads* of rad CLI/TUI libs for golang so maybe this would be a nice stop gap between a fully blown web GUI? I've seen some really nice TUIs that are totally workable before. We're still waiting on the NLNet grant for the web UI funding tho 😀
decentral1se added this to the Command-line tool sustainability milestone 2021-09-09 14:32:50 +00:00
Author
Owner

There's an alternative approach coming down the pipe in coop-cloud/wordpress#28. Still interested in this one though.

There's an alternative approach coming down the pipe in coop-cloud/wordpress#28. Still interested in this one though.
decentral1se added
question
and removed
design
labels 2022-03-11 11:44:54 +00:00
Owner
ok yep 👉 https://github.com/charmbracelet/wish
Sign in to join this conversation.
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#10
No description provided.