ns2250225 / vue-webssh Goto Github PK
View Code? Open in Web Editor NEW💻 一个基于vue,xtermjs,tornado,paramiko的web终端
💻 一个基于vue,xtermjs,tornado,paramiko的web终端
比如输入一个ll命令,有时候出现llll,输入cd只出现一个c,然后回车出现一个d。另外只能显示半屏。
后台只是去返回终端的信息吗?xterm.js根据用户输入如何进行渲染数据呢,能否讲解下,谢谢了。
python: can't open file 'serever.py': [Errno 2] No such file or directory
报错如下
E:\vueProduct\xtermTest>python server.py
D:\python3.7\lib\site-packages\paramiko\ecdsakey.py:154: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
self.ecdsa_curve.curve_class(), pointinfo
ERROR:tornado.application:Uncaught exception in /terminals/
Traceback (most recent call last):
File "D:\python3.7\lib\site-packages\tornado\websocket.py", line 494, in _run_callback
result = callback(*args, **kwargs)
File "server.py", line 39, in open
self.sshclient.connect(HOSTS, PORT, USERNAME, PASSWORD)
File "D:\python3.7\lib\site-packages\paramiko\client.py", line 357, in connect
raise NoValidConnectionsError(errors)
paramiko.ssh_exception.NoValidConnectionsError: [Errno None] Unable to connect to port 22 on 127.0.0.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.