Re:LazySSH – A jump-host SSH server that starts machines on-...
by kosinus on Friday November 13, 2020 @03:49PM
(#25087301)
I wasn’t thinking this through. LazySSH is a jump host only right now, so the endpoint also needs to be SSH.
Re:LazySSH – A jump-host SSH server that starts machines on-...
by nerpderp82 on Friday November 13, 2020 @06:44PM
(#25088903)
If you run the dns, you could create endpoints based on the name
Re:LazySSH – A jump-host SSH server that starts machines on-...
by kosinus on Saturday November 14, 2020 @02:56AM
(#25090899)
That’s the beauty of how jumphosts work, you get the input hostname verbatim. SSH leaves lookup to the server. :-)
I like this idea! I wonder how much of it is compatible with how LazySSH works right now. It’s not really on my list of things, though.
Thinking, we can make dialing the provider responsibility. I didn't want to block the goroutine there, but it could just spawn another temporary one for dialing.
Then the manager can be generic over ReadWriter, and optionally try if whatever it has is also Closer.
Beyond that, I think Docker talks gRPC?
P.S.: Note that I made this AGPL. If you planned on creating some sort of product out of this, best start fresh from the golang.org/x/crypto. Might even be simpler in the end, because I feel like a big part of lazyssh is management of resources, which in Docker is (probably) local, cheap and almost instant.