SSH -> docker gateway #10

Open
opened 2020-09-11 16:36:35 +00:00 by 3wordchant · 3 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
This repo is archived. You cannot comment on issues.
No description provided.