GithubHelp home page GithubHelp logo

optionalg / cli-support Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mevdschee/cli-support

0.0 2.0 0.0 22 KB

Shell script to offer remote linux CLI support over SSH to users behind a NAT

License: MIT License

Shell 100.00%

cli-support's Introduction

cli-support

This shell script allows you to offer remote linux command line support over SSH to your clients that are behind a NAT. It is comparable to a reverse shell, but it does not require the support agent to setup a listening port first. The script allows the user to see what is executed and also allows the user to interact (and change the screen size).

Requirements

  • bash
  • socat
  • tmux

Installation

Execute the following commands:

sudo apt install socat tmux
curl https://raw.githubusercontent.com/mevdschee/cli-support/master/socat.sh -O socat.sh
chmod 755 socat.sh

Now you are ready to run the client.

Usage

The client that needs support should run:

  ./socat.sh user@hostname

You (the support agent) should run on the server:

  socat file:`tty`,raw,echo=0 tcp-connect:localhost:6000

The script shares the session in such a way that both parties can view AND type and that the client can resize the terminal.

cli-support's People

Contributors

mevdschee avatar

Watchers

 avatar  avatar

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.