Skip to content

mafintosh/hyperssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyperssh

SSH and SSHFS over the Hyperswarm DHT!

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

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

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)

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

hypertele-server --seed SEED -l 3389

On the client

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

About

Run SSH over hyperswarm!

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •