Use a browser to connect Linux server

wssh  allows us to call a remote via HTTP  shell , which means we can use a browser to access a  Linux  terminal (just run on the server wsshd server) server / virtual machine. wssh wsshd client connects to the server through ssh account. wssh as more of a library to develop some applications, such as the development of cloud computing, virtual machine control panel's background virtual machine console, and so on.

 

The test used was CentOS7.4.1708

1, turn off the firewall, selinux, mount the CD, yum to access the Internet


2, renewal yum source
Cd /Etc/yum.Repos.D/
For I In `Ls`; Do Mv $ I {, Bak.}; Done
Mv CentOS-Base.Repo.Bak CentOS-Base.Repo

 

3, installation epel

yum -y install epel-release

 

4, necessary to install the software:
yum the install Git -Y GCC Python Python the libevent-dev-dev-PIP Python

 

5, the installation of various python library wssh needed

pip install peddled peddled WebSocket para-miko flask

 

6, generating a secret key and the upload github
ssh-keygen -t rsa

 

7, clone projects
Git clone [email protected]: aluzzardi / wssh.git
CD wssh /
Python setup.py the install

 

8, run wsshd
foreground: wsshd

Background: wsshd &

 

9, open the browser: http: // IP: 5000

 

 

 

 

Guess you like

Origin www.cnblogs.com/smlile-you-me/p/12063836.html