NoReplyUI5 / web-terminal

Web-based terminal with password security that can connect to SSH server's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Terminal

This is a simple web terminal application that allows users to interact with a server via a web browser.

Repository Stats

GitHub Repo Stars GitHub Repo Forks GitHub Issues GitHub Pull Requests GitHub Pull Requests

Discord Community

Join our Discord community for support and discussions: Click Here 🙂

Features

  • Terminal interface for executing commands on a remote server.
  • WebSocket communication for real-time interaction.
  • Basic authentication for login.

Installation

  1. Clone the repository:

    git clone https://github.com/noreplyui5/Web-Terminal.git
  2. Install dependencies:

    cd Web-Terminal
    npm install
  3. Configure environment variables by creating a .env file (see .env.example for reference).

  4. Start the server:

    npm start
  5. Access the web terminal in your browser at http://localhost:9001.

Configuration

The following environment variables can be configured in the .env file:

  • WEB_USERNAME: Username for basic authentication (default: admin)
  • WEB_PASSWORD: Password for basic authentication (default: admin)
  • SSH_HOST: Hostname or IP address of the SSH server (default: 127.0.0.1)
  • SSH_PORT: Port number of the SSH server (default: 22)
  • SSH_USERNAME: Username for SSH authentication (default: root)
  • SSH_PASSWORD: Password for SSH authentication (default: password)

Usage

  1. Visit the login page (/login) and enter your credentials.
  2. Once logged in, you can execute commands in the terminal interface.

License

This project is licensed under the GPL General Public License v3.0.

About

Web-based terminal with password security that can connect to SSH server's

License:GNU General Public License v3.0


Languages

Language:JavaScript 50.1%Language:HTML 49.9%