Git Product home page Git Product logo

ssh-web-console's Introduction

ssh-web-console

you can connect to your linux machine by ssh in your browser.

Docker Image Size (latest by date) Docker Image Version (latest semver) Docker Pulls

Quick start

$ docker pull genshen/ssh-web-console:latest
# docker build --build-arg GOMODULE=on -t genshen/ssh-web-console . # or build docker image on your own machine
$ docker run -v ${PWD}/conf:/home/web/conf -p 2222:2222 --rm genshen/ssh-web-console

or using Docker Compose:

$ git clone https://github.com/genshen/ssh-web-console.git
$ cd ssh-web-console
$ docker-compose up -d

Open your browser, visit http://localhost:2222. Enjoy it!

NOTE: To run docker container, make sure config.yaml file is in directory ${PWD}/conf

Build & Run

Make sure your Go version is 1.11 or later

Clone

git clone --recurse-submodules https://github.com/genshen/ssh-web-console.git
cd ssh-web-console

Build frontend

cd web
yarn install
yarn build
cd ../

Build go

go get github.com/rakyll/statik
statik --src=web/build  # use statik tool to convert files in 'web/build' dir to go code, and compile into binary.
export GO111MODULE=on # for go 1.11.x
go build

Run

run: ./ssh-web-console, and than you can enjoy it in your browser by visiting http://localhost:2222.

Screenshots

Related Works

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.