最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Is it possible to write a javascript SSH client that uses web sockets for transport? - Stack Overflow

programmeradmin5浏览0评论

Would it be possible to write a basic SSH client in pure javascript using something like orbited web sockets as the transport layer? I don't see any examples of this, but it seems like it would be a nice thing to have.

Would it be possible to write a basic SSH client in pure javascript using something like orbited web sockets as the transport layer? I don't see any examples of this, but it seems like it would be a nice thing to have.

Share Improve this question asked Apr 20, 2010 at 18:08 BHPBHP 9962 gold badges14 silver badges18 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

You can check out Ajaxterm and rTerm, which uses it.
I really like Orbited and used it on one of my pany's internal systems (with RabbitMQ). It should be possible to take the concepts from those applications and use Orbited as the transport layer, though I don't think this is the best use case for it (as the task being single-user and not channel-based etc.).

With a proxy on the server to convert the unpack the WebSocket protocol and tunnel it into SSH, sure, it could be done.

It hasn't been done yet because WebSocket isn't really finished yet and most browsers don't have implementations. You have to fall back to Flash sockets to emulate it.

发布评论

评论列表(0)

  1. 暂无评论