ssh-webhook is a simple server application that handles SSH sessions and HTTP webhooks. It allows users to set up webhooks through SSH commands and forward HTTP requests to specified destinations.
Features
Handle SSH sessions to set up webhook destinations.
Forward HTTP POST requests to the specified destinations.
Basic authentication and error handling.
Requirements
Go 1.16 or higher
An SSH key pair
Installation
Clone the repository:
git clone https://github.com/yourusername/ssh-webhook.git
cd ssh-webhook
Install the dependencies:
go mod tidy
Generate or provide an SSH private key and save it in the keys/ directory: