Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mafintosh/hyperssh
Run SSH over hyperswarm!
https://github.com/mafintosh/hyperssh
Last synced: 13 days ago
JSON representation
Run SSH over hyperswarm!
- Host: GitHub
- URL: https://github.com/mafintosh/hyperssh
- Owner: mafintosh
- License: mit
- Created: 2019-07-16T18:15:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T07:20:55.000Z (7 months ago)
- Last Synced: 2024-10-23T04:14:44.951Z (22 days ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 149
- Watchers: 7
- Forks: 18
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hyperssh
SSH and SSHFS over the [Hyperswarm DHT](https://github.com/holepunchto/hyperdht)!
## Installation
```
npm install -g hyperssh // ssh / fuse client stubs
npm install -g hypertele // hyperswarm server proxy
npm install -g hyper-cmd-utils // keygen utils
```## Usage
### Server
On a server
```sh
hyper-cmd-util-keygen --gen_seed
-> SEEDhypertele-server --seed SEED -l 22
-> PEER_KEY
```This will start announcing the server on the DHT.
### Client
On the client
```sh
hyperssh -s ab01f... -u maf
hyperssh -s ab01f... -u maf -i keypair.json
```Read more about using identities here: https://github.com/prdn/hyper-cmd-docs/blob/main/identity.md
SSHFS (mount a remove fs/folder via ssh)
```sh
hyperssh-fuse -s ab01f... -u maf -m ~/mnt
```Hyperswarm will do UDP holepunching under the hood, so even if your server is located on a home network it should be accessible.
### Windows RDP
You can also use hyperssh with Windows RDP to remotely log in to your windows machines.
On the server
```sh
hypertele-server --seed SEED -l 3389
```On the client
```sh
hyperssh --rdp -s ...
```## The hyper-cmd system
hyperssh supports the hyper-cmd system!
Identity management: https://github.com/prdn/hyper-cmd-docs/blob/main/identity.md
Host resolution: https://github.com/prdn/hyper-cmd-docs/blob/main/resolve.md
## License
MIT