sshpiper icon indicating copy to clipboard operation
sshpiper copied to clipboard

feature request: a `http` plugin

Open crawshaw opened this issue 7 months ago • 1 comments

Hello! This is a very neat project. We are trying to use it, but find the requirement to present a GRPC endpoint surprisingly tricky. We currently have a custom web server, but we cannot easily serve GRPC out of it (because it is apparently tricky to layer remote-addr style auth onto GRPC). So we find ourselves having to bring up another server just for the sshpiperd handler.

What would be ideal is if we could have an HTTP endpoint on our server that reads a JSON request and responds with a bit of JSON, rather than wrestle GRPC. Is this something that would be reasonable for a plugin?

crawshaw avatar May 28 '25 14:05 crawshaw

restful by @11notes 🔀🔒: The rest plugin for sshpiperd is a simple plugin that allows you to use a restful backend for authentication and challenge.

is this you are looking for?

tg123 avatar May 28 '25 16:05 tg123