WeTTY is a web-based SSH client that enables users to access their terminal interface via a web browser. In this tutorial, we'll walk you through the steps to install WeTTY on Ubuntu Server Latest.
Before installing any package, it is a good practice to update the system to the latest version. To do this, open the terminal by pressing CTRL + ALT + T
and run the following command:
sudo apt-get update && sudo apt-get upgrade -y
WeTTY requires Node.js to be installed on your Ubuntu Server. To do this, run the following command:
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
Verify if Node.js is installed by running the command:
node -v
Now we are ready to install WeTTY. Run the following command to install WeTTY from the NPM registry:
sudo npm install -g wetty
Now that WeTTY is installed, let's start the WeTTY server by running the following command:
sudo wetty
Your terminal interface should now be accessible via a web browser by visiting the IP address or domain name of your server with the port number appended (default is 3000).
Example: http://192.168.1.10:3000
Congratulations! You have successfully installed WeTTY on your Ubuntu Server Latest. You can now access your terminal interface via any web browser, providing a convenient way to access your Ubuntu Server remotely.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!