Hypershell
Last updated
Last updated
A command-line interface for generating and connecting to peer-to-peer, end-to-end encrypted shells.
Install with npm:
Create a P2P shell server.
options
include:
Options | Description | Default |
---|---|---|
Connect to a P2P shell.
options
include:
Options | Description | Default |
---|---|---|
Create keys of type ed25519 for use by the holepunch-protocol.
options
include:
First, create a key with the default filename:
Client
Now the server can be connected to (providing the public key has been allowed):
Server
To create a server:
~/.hypershell/firewall
will be automatically created as an empty file. That means all connections are denied by default.
Public keys can be added in real time by adding them to the firewall list while
hypershell-server
is running.
There will be a file named ~/.hypershell/known_peers
.
Add named peers to the file, for example:
Utilize hypershell home
to eliminate the need for constantly providing the full public key.
Multiple keys are required to have multiple servers.
Generate another key:
Create a new shell server:
The client also accepts -f
if required.
Options | Description |
---|---|
-f <filename>
Filename of the server seed key.
~/.hypershell/peer
--firewall <filename>
List of allowed public keys.
~/.hypershell/authorized_peers
-f <filename>
Filename of the client seed key.
~/.hypershell/peer
-f <filename>
Filename of the seed key file.
-c <comment>
Provides a new comment.