A command-line interface for generating and connecting to peer-to-peer, end-to-end encrypted shells.
npm install -g hypershell
Create a P2P shell server.
Connect to a P2P shell.
hypershell [options] <server public key>
Create keys of type ed25519 for use by the holepunch-protocol.
First, create a key with the default filename:
Now, you can connect to servers (provided they allow your public key):
hypershell <server public key>
To create a server:
~/.hypershell/firewallwill be automatically created as an empty file. That means all connections are denied by default.
There will be a file named
Add named peers to the file, for example:
# <name> <public key>
hypershell hometo eliminate the need for constantly providing the full public key.
To have multiple servers, you need multiple keys.
Generate another key:
hypershell-keygen -f ~/.hypershell/my-server
Create a new shell server:
hypershell-server -f ~/.hypershell/my-server --firewall ~/.hypershell/my-server-firewall
The client also accepts