plus.shell
Fast remote shell/terminal for developers goals
Last updated 3 years ago by slava.hatnuke .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install plus.shell 
SYNC missed versions from official npm registry.

Plus Shell

Fast remote terminal for developers goals / socket io remote terminal.

  • Secure JWT (jsonwebtoken) based (used HTTP + JWT + socket.io + socket.io streams)
  • We used this for docker container access for developers needs.
  • Streams views
  • It kills process on exit
  Usage: plus.shell [options] [command]


  Commands:

    start           
    run [command...]

  Options:

    -h, --help         output usage information
    -V, --version      output the version number
    -p, --port [port]  Port       : 10022 is default
    -h, --host [host]  Host       : localhost or maydomain.com.dev or IP
    -k, --key [key]    Key        : this is text password, must be same  for client and server  
    -d, --dir [dir]    Work dir   : path to the work dir > $ plus.shell -d /project start 

Examples

Start server

$ plus.shell start
plus.shell -> 0.0.0.0:10022

Run remote commands

$ plus.shell run -- echo hello
hello

docker examples

docker-compose.yml

app:
  build: ./
  working_dir: /project
  volumes:
    - ./:/project
  command: concurrently "plus.shell --dir /project start" "echo start-your-app"
  ports:
    - "10022:10022"

Dockerfile

FROM ubuntu:precise

RUN mkdir /project
WORKDIR /project

RUN apt-get update
RUN apt-get install -y build-essential git curl

# node.js
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
RUN apt-get install -y nodejs

# npm packages
RUN npm install -g concurrently plus.shell

Be happy!

your +1G Team

Current Tags

  • 1.0.12                                ...           latest (3 years ago)

12 Versions

  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (8)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |