Terminal access in browser over http/https
Terminal over HTTP and https. WeTTy is an alternative to ajaxterm and anyterm but much better than them because WeTTy uses xterm.js which is a full fledged implementation of terminal emulation written entirely in JavaScript. WeTTy uses websockets rather then Ajax and hence better response time.
- node >=6.9
- make
- python
- build-essential
yarn global add wetty
wetty [-h] [--port PORT] [--base BASE] [--sshhost SSH_HOST] [--sshport SSH_PORT] [--sshuser SSH_USER] [--host HOST] [--command COMMAND] [--bypasshelmet] [--title TITLE] [--sslkey SSL_KEY_PATH] [--sslcert SSL_CERT_PATH]
Open your browser on http://yourserver:3000/wetty
and you will prompted to
login. Or go to http://yourserver:3000/wetty/ssh/<username>
to specify the
user before hand.
If you run it as root it will launch /bin/login
(where you can specify the
user name), else it will launch ssh
and connect by default to localhost
.
If instead you wish to connect to a remote host you can specify the --sshhost
option, the SSH port using the --sshport
option and the SSH user using the
--sshuser
option.
Check out the Flags docs for a full list of flags
Check out the docs
WeTTy supports all browsers that xterm.js supports.
👤 Cian Butler butlerx@notthe.cloud
- Twitter: @cianbutlerx
- Github: @butlerx
Contributions, issues and feature requests are welcome!
Feel free to check
issues page.
Please read the development docs for installing from source and running is dev node
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Give a ⭐️ if this project helped you!
Copyright © 2019
Cian Butler butlerx@notthe.cloud.
This
project is MIT licensed.