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无反应
posted @ 2018-01-17 22:12  Mr黄瑞  阅读(486)  评论(0编辑  收藏  举报