New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ssb-invite

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-invite

a simple command to create invites without sshing into a pub.

1.0.1
Source
npm
Version published
Weekly downloads
164
-8.38%
Maintainers
1
Weekly downloads
 
Created
Source

ssb-invite

a simple command to create invites without sshing into a pub.

first, ssh into your pub, and set your self as the pub's master. (this is similar to adding your key to .ssh/authorized_hosts)

# copy your local pubkey.

sbot whoami

# ssh into your pub...

ssh yourpub.com

# edit config

nano ~/.ssh/config

# add the pub key from your local machine.

  "master": "{your pubkey}"

# restart your pub (however you do it...)

now, you can use ssb-invite locally.

It's easiest to set your pub in your local config.

# note, you can also use the start of a `--modern` type invite.

"remotePub": "net:{yourpub.com}:8008~shs:{your_pub's_pubkey}"

npm install -g ssb-invite

# new style
ssb-invite --modern
<newstyle invite code>

# old style
ssb-invite 1
<oldstyle invite code>

room for improvement

if we fixed these things, we could have a pub interface in patchbay.

  • no standard way to run pub
  • must restart pub after updating config (see 1)
  • not evident who owns which pub. setting master should be start of standard pub startup method.
  • shouldn't have to manually create multiserver addresses, either

License

MIT

FAQs

Package last updated on 07 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts