Coder Social home page Coder Social logo

ngroker's Introduction

act

Install ngroker on Linux

Required:

  1. some binaries in your PATH + sshd instance running: ngrok, jl, tmux, jq; to install all that, run:

    sudo apt install openssh-server tmux jq snapd
    sudo snap install ngrok
    go install github.com/koenbollen/jl@latest
  2. the ngroker script somewhere in your PATH, e.g.:

    curl -sL https://raw.githubusercontent.com/maelvls/ngroker/master/ngroker > /tmp/ngroker
    install /tmp/ngroker $(go env GOPATH)/bin

Install ngroker on macOS

(1) Make sure sshd is running (go to ๏ฃฟ โ†’ System Preferences โ†’ Sharing โ†’ check the box "Remote login")

(2) Install ngroker by running the following commands:

brew install jq tmux koenbollen/public/jl
brew cask install ngrok
curl -sL https://raw.githubusercontent.com/maelvls/ngroker/master/ngroker > /tmp/ngroker
install /tmp/ngroker /usr/local/bin

(2) Then, make sure you are registered with ngrok (e.g. using your Github account to signup/log in)

(3) Copy the authtoken in the ngrok setup page and run:

ngrok authtoken <the-token-displayed-in-get-started-setup>

Use ngroker to share a tmux session with a colleague

Finally you can create a session someone by giving the script their Github username (e.g. maelvls). The session will happen in tmux attach -t ngroker

# Share session with mael
ngroker maelvls

# Let's be crazy and share the session with two people!
ngroker maelvls Callisto13

FAQ

% ssh [email protected] -p 15597
kex_exchange_identification: Connection closed by remote host

that means sshd isn't running on the machine that runs ngroker

ngroker's People

Contributors

maelvls avatar

Stargazers

 avatar Piyushh Bhutoria avatar Niki Manoledaki avatar

Watchers

James Cloos avatar  avatar  avatar

ngroker's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.