建立webssh服务
webssh通过网页http协议ssh登录获取终端
最终效果通过域名shell.jumhorn.eu.org访问网页ssh客户端
安装1pip3 install webssh
配置使用nginx反向代理
123456789101112131415server { listen 80; server_name shell.jumhorn.eu.org; location / { proxy_pass http://127.0.0.1:8888; proxy_http_version 1.1; proxy_read_timeout 300; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-PORT $remote_port; ...