Wetty installation and usage instructions for Linux systems

Source: Internet
Author: User
Tags openssl

1. WettyIntroduction

Wetty is an open source web-based SSHdeveloped using node. js and websockets . for more information on web-based SSH , please refer to Https://en.wikipedia.org/wiki/Web-based_SSH.

please refer to Https://github.com/krishnasrinivas/wetty for wetty information.

2.Environment Preparation

Because wetty is written using node. js , we have to install the relevant node. js environment beforehand. Please take a look at this blog post.

3. Wettyinstallation

Run the following command to install the

$ git clone https://github.com/krishnasrinivas/wettysudoinstall

The installation process may be faulty, please refer to the following possible problem handling.

4. Verification

After the installation is complete, then run the following command to start the wetty Service, monitor the port number

3000

Then open the browser, enter the http://127.0.0.1:3000, and then enter the password to log in successfully after the command line operation, the effect as shown,

5.possible problem handling5.1Installation TimesError: ' Use ' was not a member of ' Node::buffer '

Because I installed theNodeis a4.1.1version of, too new. andWettyoriginally dependent on thePty.jstoo old, causing problems with compilation. Modify the followingWettyin the source code directoryPackage.json, will depend on thePty.jschange to the latest version0.3.0(originally a^0.2.7-1). Save the file and run it againsudo npm installcommand.

5.2 SSHAccess failed

After starting the wetty Service, enter the http://127.0.0.1:3000 times in the browser a similar to the following "Ssh:connect to host localhost port 22:connection refused " error.

Run the following command to reinstall Openssl-client and openssl-server ,

sudo apt-get remove openssh-client openssh-sudo apt-get installopenssh-client Openssh-server

(done)

Wetty installation and usage instructions for Linux systems

Related Article

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.