Follow

Low key want to make an SSH over HTTP request thing.

Like, you open up an HTTP request and the server registers a TTY for it, then you keep the connection open and send data between the two ends.

· · Web · 2 · 1 · 0
@mauve Sounds like the perfect use case for websocket or even grpc!

@nilix I think ssh over websocket is actually pretty common already. :o IMO that adds way more overhead than is strictly necessary, though. I think one could potentially get a shell working with cURL in bash with plain HTTP with the approach I have in mind. :P

@mauve nice, I'd be interested to see what kind of implementation you roll up!

@mauve Related: github.com/capyloon/wspty

That's what I use for the local "Terminal" app in @capyloon (github.com/capyloon/nutria/blo). This goes over websocket, and it's on my todo list to add support for ssh connections.

@fabrice @capyloon That's super handy! I've actually been thinking of doing something similar in Agregore :o

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.