https://github.com/composewell/simple-rpc
https://github.com/composewell/simple-rpc
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/composewell/simple-rpc
- Owner: composewell
- Created: 2024-05-31T19:01:49.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-31T12:26:54.000Z (over 1 year ago)
- Last Synced: 2025-03-30T13:34:11.813Z (about 1 year ago)
- Language: Haskell
- Size: 46.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
Look at `app` for an example application.
## Pre-requisites
* Remote machine should be accessible via ssh for some user(s). For
example, by adding the user's public key to the user's
$HOME/.ssh/authorized_keys file.
* To avoid putting the user's private key on each machine, ssh agent
forwarding can be used to forward the keys from one machine to another.
* Need a `sudo` capable user on each remote machine for:
* installing the rpc executable
* running commands as an arbitrary user
## Usage as a CLI
```
echo '[22, "Test", true]' | cabal run example -- "Module1.printFromModule1"
```