Wetty on Centos/RHEL

What is Wetty?
Wetty is an alternative to ajaxterm/anyterm but much better than them because wetty uses ChromeOS' terminal emulator (hterm) which is a full fledged implementation of terminal emulation written entirely in Javascript. Also it uses websockets instead of Ajax and hence better response time.

Step 1: Install epel repo

[root@hackthesec /]# wget

[root@hackthesec /]# rpm -ivh epel-release-6-8.noarch.rpm

Step 2: Install dependencies

[root@hackthesec /]# yum install epel-release git nodejs npm -y

Step 3: After installing these dependencies, clone the GitHub repository

[root@hackthesec /]# git clone

Step 4: Run Wetty

[root@hackthesec /]# cd wetty

[root@hackthesec /]# npm install

Step 5: Starting Wetty and Access Linux Terminal from Web Browser

[root@hackthesec /]# node app.js -p 8080

Step 6: Wetty through HTTPS

[root@hackthesec /]# openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes (complete this)

Step 7: launch Wetty via HTTPS

[root@hackthesec /]# nohup node app.js --sslkey key.pem --sslcert cert.pem -p 8080 &

Step 8: Add an user for wetty

[root@hackthesec /]# useradd john
[root@hackthesec /]# Passwd john

Step 9: Access wetty

give the credential have created before for wetty and access

About Author:

I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Newer Post
Older Post


Post a Comment