This web SSH client tool is awesome! Love

Time:2021-12-4

This web SSH client tool is awesome! Love

Introduction to webssh

This tool is developed in Python. You can learn more from the following address.

Official website:https://pypi.org/project/webssh/

What can webssh do??

Install the python environment on the Linux machine, and use the command PIP3 install webssh to install this module

We can log in to our Linux machine on the browser web page. Isn’t it very powerful!

function

  • Support SSH password authentication, including empty password.

  • Support SSH public key authentication, including DSA RSA ECDSA ed25519 key.

  • Encryption keys are supported.

  • Support two factor authentication (time-based one-time password)

  • Support full screen terminal.

  • The terminal window can be resized.

  • Automatically detect the default encoding of ssh server.

  • Modern browsers support chrome, Firefox, Safari, edge and opera.

This web SSH client tool is awesome! Love

install

pip3 install webssh

Running services

#   Run wssh directly and use the default 8888 port
wssh
#   Start by binding IP address and port
wssh --address='192.168.83.129' --port=8888
wssh --address='0.0.0.0' --port=8888
#   Start by binding IP address and port,只允许本地地址访问
wssh --address='127.0.0.1' --port=8888

Start service effect

This web SSH client tool is awesome! Love

use

Open the browser and enterhttp://192.168.83.129:8888

This web SSH client tool is awesome! Love

Click Connect

This web SSH client tool is awesome! Love

be careful

After the service is started, you canhttp://192.168.83.129:8888/orhttp://localhost:8888To access.

The page will ask you to enter the machine name, port, user and password to log in, and then SSH to the specified machine.

To log in to webssh with root, you must modify the configuration file VIM / etc / SSH / sshd_ config

Comment out #permittrootlogin without password and add permittrootlogin yes

# Authentication:
LoginGraceTime 120
#PermitRootLogin prohibit-password
PermitRootLogin yes
StrictModes yes

Then restart the service.

Previously, I also recommended an SSH tool developed by Chinese people in Java:This domestic SSH client is awesome! Netizen direct call: 666

Link:https://www.cnblogs.com/yunwa…
Author: Mr_ Yun

This web SSH client tool is awesome! Love