Wetty是使用Node.js和websockets开发的一个开源Web-based SSH
[epel]
name=epel
baseurl=https://mirrors.aliyun.com/epel/7Server/x86_64/
gpgcheck=0
yum install git nodejs npm
git clone https://github.com/krishnasrinivas/wetty
cd wetty
npm install
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes
node app.js --sslkey key.pem --sslcert cert.pem -p 8001
端口可以随意指定
iptables -Fhttps://172.17.0.9:8001