V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
huashengdun
V2EX  ›  Python

基于 tornado 和 xterm.js 的 webssh 项目

  •  
  •   huashengdun · 2018-03-05 09:43:06 +08:00 · 5777 次点击
    这是一个创建于 2237 天前的主题,其中的信息可能已经有所发展或是发生改变。
    去年 11 月写了个 webssh 小项目,基于 tornado, paramiko 和 xterm.js 。

    大概原理是这样的

    browser <--http--> webssh server <--ssh--> ssh server

    webssh server: 运行 webssh 的服务器, 起到了桥梁的作用,跟浏览器是用 http(s)或者 websocksets 来通信的,跟 ssh 服务器是用 ssh 协议来通信的。

    项目地址是,https://github.com/huashengdun/webssh

    欢迎大家来拍砖。
    7 条回复    2019-12-23 19:17:04 +08:00
    huashengdun
        1
    huashengdun  
    OP
       2018-03-05 09:51:20 +08:00
    当也欢迎对这个项目 https://github.com/huashengdun/shadowsocks-lab 拍砖
    v2thrive
        2
    v2thrive  
       2018-03-07 12:06:06 +08:00
    Mark 下,回头有时间再仔细看下。
    huashengdun
        3
    huashengdun  
    OP
       2018-03-09 08:15:14 +08:00
    增加了一个分支 external_staic,依赖的静态资源使用链接引用形式。
    欢迎使用和反馈。
    fanne
        4
    fanne  
       2018-10-08 17:40:01 +08:00
    hello,想把这个集成到 django 中,不知有没 demo 参考的?
    Ansen
        5
    Ansen  
       2019-03-21 09:50:53 +08:00
    哇,作者居然上 v2, 感谢作者 前两天才把 webssh 集成到了运维后台中去~
    wljtojlw
        6
    wljtojlw  
       2019-11-29 17:33:47 +08:00
    @Ansen 老哥你是怎么集成上去的,能给点建议吗
    37Y37
        7
    37Y37  
       2019-12-23 19:17:04 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1068 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 18:44 · PVG 02:44 · LAX 11:44 · JFK 14:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.