Install Wetty on CentOS/RHEL 6.X
What is Wetty?
Wetty = Web + tty
As a system administrator, if you are on a Linux desktop, you can use it to connect to a remote server like a GNOME terminal (or similar). If you are in Windows, you can use an SSH client such as Putty to connect to a remote computer, and then access the Internet in a browser and check emails.
(LCTT note: in short, this is a Web browser-based Remote Terminal)
Step 2: Install the epel Source
#wget http://download.Fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm
Step 2: Install Dependencies
#yum install epel-release git nodejs npm -y
(LCTT Note: Yes, that's right. It was written in node. js)
Step 2: Clone the GitHub repository after installing the dependency
#gitclone https://github.com/krishnasrinivas/wetty
Step 2: Run Wetty
#cd wetty
# npm install
Step 2: Start Wetty from a Web browser and access the Linux terminal
# node app.js -p 8080
Step 2: Install HTTPS certificate for Wetty
# openssl req -x509 -newkey rsa:2048-keyout key.pem -out cert.pem -days 365-nodes
Wait for completion.
Step 2: Use Wetty over HTTPS
#nohup node app.js --sslkey key.pem --sslcert cert.pem -p 8080&
Step 2: Add a user to wetty
#useradd<username>
#Passwd<username>
Step 2: Access wetty
http://Your_IP-Address:8080
Enter the certificate you created for wetty and access it.
End now!