wssh tools

wssh tools
 
  • wssh tools
  • Introduction
    • Popular Science:
      • wssh SSH is a bridge to WebSockets, allowing you to call a remote server via HTTP SHELL command.
      • wssh allows us to invoke a shell remotely via HTTP, which means we can use the browser to access terminal (just run on the server wsshd server) to a Linux 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.
  • step
    • yum -y install git gcc python libevent- dev python-dev python-pip
      install software required dependencies
    •  pip install gevent gevent-websocket paramiko flask
      install python library wssh needed
    • clone git  https://github.com/aluzzardi/wssh.git
      download and install wssh
    • cd wssh /
      enter the working directory run py file
    • python setup.py install
      execution file open
    • wsshd
      run
    • ss -ntulp | grep 5000
      to see whether to open ports
    • http://139.159.148.138:5000/
  • I encountered an error
    • 1
      • Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-TR_ExY/gevent
      • You are using pip version 7.1.2, however version 19.2.3 is available.
      • You should consider upgrading via the 'pip install --upgrade pip' command.
      • the reason
        • It is using PIP7.1.2 version, but version 19.2.3 is available.
      • solve
        • pip install--upgrade pip
  • Normal access, execute the command ls
  • Error resolved
    • python NameError: name 'platform_system' is not defined
      • An error
        • Undefined platform_system
      • solve
        • pip install --upgrade setuptools
        • Upgrade setuptools and pip
  • note
    • Do not fill in the login command line
    • Directly into the terminal just fine
    • Invincible

Guess you like

Origin www.cnblogs.com/qianfye/p/11615630.html