The code is as follows |
Copy Code |
[Root@lee ~]# git clone https://github.com/aluzzardi/wssh.git |
After downloading, go directly to the directory installation
The code is as follows |
Copy Code |
[Root@lee ~]# CD Wssh [Root@lee ~]# python setup.py install |
If the installation is wrong, you may need to install a number of dependent packages, as prompted by the installation, the dependency pack is about five or six. Once installed, you can enter the command to start the service directly
The code is as follows |
Copy Code |
[Root@lee ~]# Wsshd wsshd/0.1.0 running on 0.0.0.0:5000 |
The default is to listen for all IP 5000 ports, at which point you can access the browser-side by entering ip:5000
You can enter the account number, IP address and password can be logged in. Unfortunately, the default connection 22 port, if the port changed on the tragedy. The effect diagram after the connection:
The command interface also supports discoloration, such as:
But if you open the editor with the VI command, it's tragic because you can't use the keyboard to manipulate text, and you can't: Wq exit
But you can do simple interactions, such as confirming conversations
So how does it interact with browsers? In fact, this is a Python program, using WebSocket connection interaction, Chrome screenshot:
So you need to use a browser that supports websocket connections to access, if you use a browser that does not support websocket, such as IE7. Of course, this is just a common sense, in fact I prefer the SSH tool, after all, browser-side stability and security are a cold sweat. However, you can open a number of small openings, and then iptables filter can be very convenient in the strange machine using the browser to manage Remote server.