安装基于HTML5的SSH工具GateOne (by quqi99)

来源:互联网 发布:股票收益计算软件 编辑:程序博客网 时间:2024/06/07 11:50

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明 (http://blog.csdn.net/quqi99)

安装

wget -c https://github.com/downloads/liftoff/GateOne/gateone-1.1.tar.gztar -vxf gateone-1.1.tar.gzcd GateOnesudo apt install python python-pip python-imagingsudo pip install pyopenssl ordereddict tornado==2.4.1sudo python setup.py installcd /opt/gateonesudo chown -R ubuntu:root /opt/gateonesudo ./gateone.py

配置

1, 修改/opt/gateone/server.conf文件,将你的vps地址添加到origins中。

origins = "https://<floating-ip-of-your-vps>"

2, 设置允许使用用户名登录ssh,修改/etc/ssh/sshd_config文件后,然后重启ssh.

PasswordAuthentication yes

3, 然后重启gateone

访问

访问https://即可。

原创粉丝点击