zoukankan      html  css  js  c++  java
  • GateOne Web SSH 环境搭建

    1. 环境配置
      安装python及tornado
      yum -y install python-pip
      pip install tornado
    2. GateOne安装
      下载源码:
      git clone https://github.com/liftoff/GateOne.git
      安装:
      cd GateOne
      python setup.py install --prefix=/usr/local/
    3. 配置
      vim /etc/gateone/conf.d/10server.conf
      // 默认false, 修改为true, 关闭https
      "disable_ssl": true, 
      // 加入localhost:8080 允许localhost:8080访问GateOne
      "origins": ["localhost:8080", "localhost", "127.0.0.1", "Jerry_dev"],
      // 端口号默认是443,修改为80
      "port": 80,
      访问验证配置
       vim /etc/gateone/conf.d/20authentication.conf
    4. 启动
      systemctl restart gateone
      chkconfig gateone on
    5. 连接
      URL:https://ip_addr:port/?ssh=ssh://hostname@host_ipaddr
      eg:http://10.10.31.13?ssh=ssh://pi@10.10.31.13
    6. 问题
      无法使用vim编辑器,ESC无反应
  • 相关阅读:
    Vue自定义指令
    Vue实例生命周期
    Vue学习目录
    Vue表单控件绑定
    Vue事件处理
    Vue数组更新及过滤排序
    Vue模板逻辑
    Vue模板内容
    Vue实例对象的数据选项
    Vue组件基础用法
  • 原文地址:https://www.cnblogs.com/Mrhuangrui/p/8306428.html
Copyright © 2011-2022 走看看