mirror of
https://github.com/Sudo-Ivan/rnsh.git
synced 2025-11-23 07:41:11 +00:00
custom fork of rnsh
- Replaced the existing SIGINT handler with a new function that manages state and data buffer more effectively. |
||
|---|---|---|
| .gitea/workflows | ||
| rnsh | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| pyproject.toml | ||
| README.md | ||
| README_RU.md | ||
| tty_test.py | ||
rnsh - Shell over Reticulum
Русский | English
Custom fork of rnsh
rnsh is a utility written in Python that facilitates shell
sessions over Reticulum networks.
It provides a similar experience to SSH.
Installation
pip install git+https://git.quad4.io/Ivan/rnsh.git
# or
pipx install git+https://git.quad4.io/Ivan/rnsh.git
Configure Reticulum interfaces and check with rnstatus.
Usage
Setup
Get the identity hashes:
# On listener
rnsh -l -p
# On initiator
rnsh -p
Listener
rnsh -l -a <initiator_identity_hash> -- /bin/zsh
Initiator
rnsh <listener_destination_hash>
Options
Run rnsh --help for complete usage information.
Key options:
-l, --listen: Listen mode (server)-a, --allowed HASH: Allow specific identity to connect-p, --print-identity: Print identity information-c, --config DIR: Alternate Reticulum config directory-i, --identity FILE: Specific identity file-s, --service NAME: Service name for identity file-v, --verbose: Increase verbosity-q, --quiet: Decrease verbosity
How it works
- Listeners are servers that accept connections using RNS identities and service names
- Initiators are clients that connect to listeners using destination hashes
- Authentication is handled through identity verification
- Commands can be executed remotely with various configuration options