GithubHelp home page GithubHelp logo

ucloud-ssh's Introduction

ucloud-ssh

UCloud SSH 是一个从浏览器访问, 方便对UCloud云主机进行管理的基于Vue/Nuxt/Express的SSR前端应用

如何使用

1. 建立自己的Docker镜像

# build docker image
$ docker build -t genee/ucloud-ssh .

2. 准备 docker-compose.yml 文件

version: "3"
services:
  ucloud-ssh:
    container_name: ucloud-ssh
    image: genee/ucloud-ssh
    ports:
      - 3000:3000/tcp
    restart: always
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /tmp:/tmp
      - ./ssh/config:/usr/local/share/ucloud-ssh/config
      - ./ssh/id_rsa:/usr/local/share/ucloud-ssh/id_rsa
      - ../../dev/log:/dev/log

3. 准备 ssh_configssh_identity

# sample of ssh_config
Host 10.10.*
  ProxyCommand /usr/bin/ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /usr/local/share/ucloud-ssh/id_rsa -W %h:%p [email protected]
  User genee
  StrictHostKeyChecking no
  UserKnownHostsFile /dev/null
  IdentityFile /usr/local/share/ucloud-ssh/id_rsa
  IdentitiesOnly yes

3. 运行

docker-compose up -d

ucloud-ssh's People

Contributors

iamfat avatar

Watchers

 avatar James Cloos 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.