目錄表

安裝 Webssh 的方式

Webssh Open source 方案

web-shell

su - root
cd /opt/webssh
wget http://web-shell.googlecode.com/files/WebShell-0.9.6.zip
unzip WebShell-0.9.6.zip
mv WebShell-0.9.6 WebShell
cd WebShell
./make_certificate.sh
./webshell.py --ssl-disable &
 
cd /etc/httpd/conf.d/
vi webssh.conf
# web-shell
ProxyRequests Off
<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>
ProxyPass /webshell/ http://localhost:8022/
ProxyPassReverse /webshell/ http://localhost:8022/

# 設定只允許 127.0.0.1 與 140.92.xxx.xxx 可以連上
<Location /webshell>
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    Allow from 140.92.
</Location>
  • 使用 IE / Chrome 方向鍵<key>up</key><key>down</key><key>←</key><key>→</key>, <key>←backspace</key> 都會有問題
  • 建議使用 FireFox 然後 <key>CTRL</key>+<key>+</key>放大字型操作