spacessh
v0.0.1
Published
Run SSH over Spaceswarm!
Readme
spacessh
SSH and SSHFS over the Spaceswarm DHT!
Installation
npm install -g spacessh // ssh / fuse client stubs
npm install -g spacetele // spaceswarm server proxy
npm install -g space-cmd-utils // keygen utilsUsage
Server
On a server
space-cmd-util-keygen --gen_seed
-> SEED
spacetele-server --seed SEED -l 22
-> PEER_KEYThis will start announcing the server on the DHT.
Client
On the client
spacessh -s ab01f... -u maf
spacessh -s ab01f... -u maf -i keypair.jsonRead more about using identities here: https://github.com/prdn/hyper-cmd-docs/blob/main/identity.md
SSHFS (mount a remove fs/folder via ssh)
spacessh-fuse -s ab01f... -u maf -m ~/mntSpaceswarm 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 spacessh with Windows RDP to remotely log in to your windows machines.
On the server
spacetele-server --seed SEED -l 3389On the client
spacessh --rdp -s ...The space-cmd system
spacessh supports the space-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
