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

skugo

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skugo

Generate a unique shareable link and remote into a machine via web interface (SSH)

  • 1.0.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-29.41%
Maintainers
1
Weekly downloads
 
Created
Source

Introducing skugo

Generate a unique shareable link and securely remote into a machine via web interface; think SSH!

Run skugo in a terminal Open the generated link in a browser

Running on Linux

wget:

wget -qO- https://github.com/TrevorSundberg/skugo/releases/latest/download/skugo-linux-x64.tar.xz | tar xJf -
./skugo

curl:

curl -sL https://github.com/TrevorSundberg/skugo/releases/latest/download/skugo-linux-x64.tar.xz | tar xJf -
./skugo

npm:

npm install -g skugo
skugo

How it works

To avoid the need for having a publicly visible machine or opening ports, skugo uses WebSockets on both client browser and hosting machine to connect to a relay server that's hosted on Openode. When running skugo it will generate a unique session using uniqid. Anyone who has the link will join the same session and can execute commands on the hosting machine.

Security

Both client browser and hosting machine connect to the relay server over HTTPS (TLS/SSL) ensuring your traffic is encrypted. To further enhance security, the underlying protocol is encrypted with CryptoJS's AES-256. The pass-phrase is cryptographically generated and is included as a base64 encoded hash in the url, e.g. #4LGDmmkcysPtqaXyho1Ikg==. By using the hash, it ensures that only the client sees it (location hashes are never sent to the server by any browser). This end to end encryption has two advantages:

  • Even though the relay receives your data and forwards it, it cannot decrypt it (privacy!)
  • If anyone were to compromise the relay server, they cannot control your machine without breaking the AES-256.

Motivation

This project was born out of frustration when trying to debug build machines, such as those on Azure Devops, Travis CI, AppVeyor, etc. By outputting a link that can be seen on the build console, you can now "SSH" into that machine and inspect it. If you find other great uses for this, let me know!

Keywords

FAQs

Package last updated on 29 Jan 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc