Skip to content

wissh-nd/wissh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Interface SSH (WISSH)

How to Run

WISSH should be installed on a machine that can access the remote machines you wish to connect to. WISSH will handle SSH sessions from the machine it is installed on, allowing you to SSH through it from a web browser.

Set up HTTPS

WISSH uses Node.js's HTTPS module for secure, encrypted communication. HTTPS requires a private key and the corresponding certificate. You may use a self-signed certificate to run WISSH. If you do not have a certificate, you can follow the instructions below.

On Windows

  1. If you do not have OpenSSL installed, you can download and build it from the source, or install it with Win32/Win64 OpenSSL.
  2. Add OpenSSL to your system PATH.
  3. Open Command Prompt.
  4. Navigate into the WISSH folder.
  5. Run mkdir ssl\certs ssl\private
  6. Run openssl req -newkey rsa:4096 -noenc -keyout ssl\private\key.pem -x509 -days 365 -out ssl\certs\certificate.pem -subj "/CN=wissh"

On macOS

  1. Open Terminal.
  2. If you do not have OpenSSL installed, you can install it with Homebrew. Run brew install openssl.
  3. Navigate into the WISSH folder.
  4. Run mkdir -p ssl/{certs,private}
  5. Run openssl req -newkey rsa:4096 -noenc -keyout ssl/private/key.pem -x509 -days 365 -out ssl/certs/certificate.pem -subj "/CN=wissh"

Open Docker Desktop

We recommend using Docker to run WISSH.

  1. Download Docker Desktop if you do not already have it.
  2. Open Docker Desktop.

Running WISSH

You can use the docker compose command to start and stop WISSH.

  1. Navigate into the WISSH folder.
  2. Open compose.yaml. Under services, backend and frontend, build, make sure target is set to prod.
  3. Run docker compose up --build -d to start WISSH.
  4. Run docker compose down to stop WISSH.

You can also quit Docker Desktop to stop WISSH.

How to Contribute

To contribute, please follow the general outline presented by GitHub: https://docs.github.com/en/get-started/exploring-projects-on-github/contributing-to-a-project.

Dependencies

If you do not have Node.js v21, you can install it here: https://nodejs.org/en/download.

Running Locally

WISSH can also be built and run on your local machine for development.

Development Build

To run the development build of WISSH:

  1. Navigate into the WISSH folder.
  2. Navigate into the backend folder.
  3. Run npm install.
  4. Run npm run dev.
  5. Navigate into the frontend folder.
  6. Run npm install.
  7. Run npm start.

Production Build

To run the production build of WISSH:

  1. Navigate into the WISSH folder.
  2. Navigate into the backend folder.
  3. Run npm install.
  4. Run node src/index.js.
  5. Navigate into the frontend folder.
  6. Run npm install.
  7. Run npm run build.
  8. Run npm install -g serve.
  9. Run serve -s build --ssl-cert "../ssl/certs/certificate.pem" --ssl-key "../ssl/private/key.pem".

Running WISSH on Docker

You can also use Docker to run WISSH for development.

  1. Navigate into the WISSH folder.
  2. Open compose.yaml. Under services, backend and frontend, build, make sure target is set to dev.
  3. Run docker compose up -d --build to start WISSH.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •