User Tools

This is an old revision of the document!


WeTTY

WeTTY it's a web based terminal to your server.

Installation

Create dedicated user:

 > useradd -m wetty

Now install npm locally:

 > su - wetty
 > curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
 > source .bashrc 
 > nvm install 20
 > npm -g i wetty --prefix ~/

Now run:

 > ./bin/wetty --host 127.0.0.1 --port 5522 --title ServerCasa --base /wetty/ 

Might need to install fontawesome manually:

 > npm install --save @fortawesome/fontawesome-free
 > npm i --save @fortawesome/fontawesome-svg-core
 > npm i --save @fortawesome/free-solid-svg-icons
wetty.conf
location ^~ /wetty {
        proxy_pass http://127.0.0.1:5522/wetty;
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
  proxy_read_timeout 43200000;
 
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header Host $http_host;
  proxy_set_header X-NginX-Proxy true;
}

running WeTTY result in black screen on browser.

Note: issue here

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information