Menu

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 http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

[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 https://github.com/krishnasrinivas/wetty

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

http://Your_IP-Address:8080
give the credential have created before for wetty and access
WWW.HACKTHESEC.CO.IN
ABOUT HACKTHESEC

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

Next
Newer Post
Previous
Older Post

0 comments:

Post a Comment

 
Top