Using the browser to connect to the Linux method via SSH

Source: Internet
Author: User
Tags git clone

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.