GithubHelp home page GithubHelp logo

jlenf / web-openssh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ghostplant/web-openssh

0.0 0.0 0.0 402 KB

Linux OpenSSH Terminal over Secure HTML5, supporting Huge File Transfer and UTF-8

Shell 19.76% C 80.24%

web-openssh's Introduction

Web OpenSSH (License: MIT)

  • Intro: Linux Secure Shell & WebSFTP over HTTPS, sharing connection message over websocket protocol, able to replace OpenSSH Server completely.
  • Support: HTTPS, Basic AUTH, Docker Integration, WebSocket FileUpload, FileDownload, etc.

image


Features of webssh-proxy:

  • UTF-8 Support, Color Terminal, Visual Bell/Beep Sound, ..
  • Local File Uploading to Remote: support Large file upload (<= 2GB)
  • Remote File Downloading to Local: support HUGE file download
  • No dependency with OpenSSH Server
  • Fully AsyncIO based

Supported All mainstream browsers:

  • Firefox/Iceweasel latest (all supported)
  • Chrome/Chromium latest (all supported)
  • IE 11 (only beep sound is not supported)

Run Embedded Web Shell in Docker from Repository

# Download docker image
docker pull ghostplant/webshell
# Run service over HTTPS, no password:
docker run -it --rm --net=host -e LISTEN="8443 ssl" ghostplant/webshell
# Run service over HTTPS, with password:
docker run -it --rm --net=host -e LISTEN="8443 ssl" -e ACCOUNT="admin:badmin" ghostplant/webshell

To Persistly Run Web Shell Docker Service

docker run -it -d --name my_web_ssh -v ${HOME}/alpine_home:/root --restart always --net=host -e LISTEN="8443 ssl" -e ACCOUNT="admin:badmin" ghostplant/webshell

Compile Source Code on Ubuntu native

sudo apt build-dep nginx-core

git clone https://github.com/ghostplant/web-openssh
cd web-openssh/
./wsh-make_native
./wsh-run

Compile Source Code on CentOS-7 native

sudo yum install epel-release
sudo yum install gcc nginx pcre-devel openssl openssl-devel

git clone https://github.com/ghostplant/web-openssh
cd web-openssh/
./wsh-make_native
./wsh-run

Compile Source Code as alpine-embedded Docker Image

sudo apt build-dep nginx-core  # for Ubuntu only

sudo yum install epel-release # for Centos only
sudo yum install gcc nginx pcre-devel openssl openssl-devel

git clone https://github.com/ghostplant/web-openssh
cd web-openssh/
./wsh-make_alpine
docker run -it --rm --net=host -e LISTEN="8443 ssl" ghostplant/webshell

Next, open your browser to get access to the terminal

x-www-browser "https://localhost:8443/"

web-openssh's People

Contributors

ghostplant avatar yinanzhu2015 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.