Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

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
-> SEED

hypertele-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