8000 [WIP] attach over ssh by stevvooe · Pull Request #26 · containerd/containerd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[WIP] attach over ssh #26

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

Closed
wants to merge 3 commits into from
Closed

Conversation

stevvooe
Copy link
Member

This PR sketches out the correct approach to get attach over ssh working. The ssh server portion is fairly complete and tested as part of another project. The PTY handling code and IO creation code and more theoretical.

I have to move on to other work. I am hoping someone can work from this to get attach working with very little effort. It should be a matter of exporting the correct IO representation over the Event bus and then connecting the streams.

Please let me know if you have questions.

cc @crosbymichael

Not even close to compiling but this sketches out the structure we'll for
providing access to the process io or an allocated TTY. Once this is in place,
we can hook it up to an ssh server and profit.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
Signed-off-by: Stephen J Day <stephen.day@docker.com>
Signed-off-by: Stephen J Day <stephen.day@docker.com>
@stevvooe
Copy link
Member Author

@crosbymichael Are we going in a different direction here? I might actually breakout the ssh server framework into a usable package. Let me know what the plans are for this in containerd.

@LK4D4
Copy link
Contributor
LK4D4 commented Dec 17, 2015

I like this very much. ssh framework package would be super.

@stevvooe
Copy link
Member Author

@LK4D4 Here is the single file version: https://gist.github.com/stevvooe/cc8469dd63615e49ae69. I'll probably break that down into a package if we have need of it.

thaJeztah added a commit to thaJeztah/containerd that referenced this pull request Apr 23, 2019
relevant changes:

- docker/go-units#19 make 1 second not to be plural seconds
- docker/go-units#20 Add `HumanSizeWithPrecision` function
- docker/go-units#21 change week display rule
- docker/go-units#22 Better human duration precision
- docker/go-units#23 Removes spaces before unit
- docker/go-units#27 Fix containerd#26 - RAMInBytes Bug
- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
jepio pushed a commit to jepio/containerd that referenced this pull request Dec 3, 2021
Extend README with IgnoreNotExists example
jseba pushed a commit to jseba/containerd that referenced this pull request Aug 25, 2023
refactor rpm build dockerfile for multi stage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0