README ¶ cli2ssh Turn any CLI program into a SSH server. Installation go install github.com/PeronGH/cli2ssh/cmd/cli2ssh@latest Usage # Check usage cli2ssh --help # Basic example: echo the username cli2ssh -c 'echo Hello, {{ .User }}.' # More practical example: serve oterm publicly cli2ssh -h 0.0.0.0 -e 'OTERM_DATA_DIR=userdata/{{ .User }}' -c $(which oterm) Use Cases Share a CLI program with someone who doesn't have it installed. Publicly host a TUI program, allowing it to be accessed like a web page. Let me know if you have any other ideas! ## TODO - [ ] Authentication - [ ] Add tests - [ ] Integrate with GitHub Actions Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis cmd cli2ssh internal args path server set utils Click to show internal directories. Click to hide internal directories.