webssh
通过网页http协议ssh登录获取终端
最终效果通过域名shell.jumhorn.eu.org访问网页ssh客户端
安装
配置
使用nginx反向代理
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
   | server { 	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; 	} }
  | 
 
使用
1
   | wssh --fbidhttp=False --xsrf=False --origin="*" --debug --xheaders=False --address="localhost"
   | 
 
相关应用