安装wssh, zdaemon,pagekite等

安装wssh遇到许多问题和有趣的东西,记录如下:

  1. 要安装wssh,需要先装gevent和pyCrypto,其余用
    sudo pip install flask paramiko werkzeug jinja2 ecdsa gevent-websocket
  2. 从https://github.com/aluzzardi/wssh.git下载wssh
    python setup.py install
    运行sudo wsshd, 如果发现缺少包,就用pip install
  3. fix问题, 用浏览器打开http://ip:5000
  4. change from geventwebsocket import WebSocketHandler to from geventwebsocket.handler import WebSocketHandler in file EGG-INFO/scripts/wsshd
  5. change raw.github.com to rawgithub.com in file wssh/templates/index.html
  6. 运行命令sudo wssh也可以连接
  7. 安装zdaemon,
    pip install zdaemon
    zdaemon -p wsshd start
  8. 安装PageKite
    curl -s https://pagekite.net/pk/ |sudo bash
    pagekite.py --signup
    pagekite.py 5000 mypi.pagekite.me

https://github.com/amitsaha/raspi-guide/blob/master/doc/install.rst
http://echorand.me/2012/10/13/web-based-ssh-access-to-your-raspberry-pi/
http://www.vpsee.com/2013/06/invoke-a-linux-shell-with-ssh-account-from-browser/

你可能感兴趣的:(安装wssh, zdaemon,pagekite等)