Git Product home page Git Product logo

revssh's Introduction

Reverse SSH server (with optional Web front end)

SSH login to a Linux device behind firewall/mobile networks. Suggested uses:

  • Support customers/friends computers
  • Remote control IOT devices
  • Development/Debugging
https://raw.githubusercontent.com/logicethos/RevSSH/master/diagram1.png

Requirements

  • Server/Desktop with Docker, and public IP address.
  • Devices to connect to. Must have an SSH client and wget or curl

To install/run on server

docker run -d --cap-add=SYS_PTRACE \
           -e "SSHHOST=<host>" \                   #This is the public IP or Domain
           -p <port>:<port> -e "HTTPSPORT=<port>" \  #HTTPS port (e.g 8000)
           -p <port>:<port> -e "SSHPORT=<port>" \     #SSH port (e.g 221)
           --cap-add=SYS_PTRACE \
           logicethos/revssh

e.g: .. code:

docker run -d -e "SSHHOST=rssh.mydomain.com" -p 8000:8000 -e "HTTPSPORT=8000" -p 221:22  -e "SSHPORT=221" --restart always logicethos/revssh

To Use

Go to https://<host>:<https port> and click on "Terminal SSH". Type in:

ssh://admin@localhost:22

OR from another console

ssh admin@<host> -p <ssh port>

The default password is admin. Change this!

https://raw.githubusercontent.com/logicethos/RevSSH/master/screenshot1.png

At the top of the login screen, you will see a wget & curl command line. One of these can be used to initiate connection from the remote client. Or you can visit

https://<host>:<https port>/info for instructions.

revssh's People

Contributors

kbiernat 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.