1. 程式人生 > >GateOne Web SSH 環境搭建

GateOne Web SSH 環境搭建

tor server 默認 all off 端口 etc 127.0.0.1 emctl

  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

GateOne Web SSH 環境搭建