Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

Wetty – How to Install & Access Wetty (Web-based SSH) on AWS EC2 linux to access using browser


1. Install Docker (if not installed)

sudo apt update
sudo apt install -y docker.io
sudo systemctl enable --now docker
Code language: CSS (css)

2. Start Wetty using Docker (recommended + stable)

This avoids all Node/gc-stats errors you faced earlier.

Run Wetty in container:

sudo docker run -d \
  --name wetty \
  -p 80:3000 \
  wettyoss/wetty \
  --ssh-host=127.0.0.1

What this means:

  • Docker runs Wetty internally on port 3000
  • EC2 instance listens on port 80
  • No need for Node.js / npm on host
  • No gc-stats errors
  • Very stable
Run Wetty in container BUT access the HOST Machine

sudo docker run -d \
  --name wetty \
  -p 80:3000 \
  wettyoss/wetty \
  --force-ssh \
  --ssh-host=172.31.47.185 \
  --ssh-port=22 \
  --ssh-user=ubuntu

3. Access Wetty in your browser

Use either:

http://13.200.229.28/wetty
Code language: JavaScript (javascript)

or

http://ec2-13-200-229-28.ap-south-1.compute.amazonaws.com/wetty
Code language: JavaScript (javascript)

⚠️ Wetty does NOT load on / → You must add /wetty


4. Verify Container is Running

docker ps

Should show:

PORTS
0.0.0.0:80->3000/tcp

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Skylar Bennett
Skylar Bennett
4 months ago

This is a really practical and well‑written guide to setting up web‑based SSH access with Wetty on AWS EC2 using Docker. I appreciate how the post walks through installing Docker, running the Wetty container, mapping ports (host port 80 to container port 3000), and then explains how to access the terminal via a browser — that makes remote access much simpler and more accessible. The fact that this approach avoids needing Node.js/npm on the host and sidesteps common errors like “gc‑stats” (by using the Docker image) makes the setup robust and easier to maintain. For DevOps engineers or anyone managing cloud servers who want quick, browser-based SSH access, this tutorial is a solid time‑saver and a good example of Docker‑first thinking. 👏

Jason Mitchell
Jason Mitchell
4 months ago

This article offers a clean, practical walkthrough for using Wetty to expose SSH sessions through a browser—a great fit for cloud‑based setups like AWS EC2. It clearly lays out the prerequisites (installing Docker) and the container command (docker run ‑d ‑‑name wetty ‑p 80:3000 wettyoss/wetty ‑‑ssh‑host=127.0.0.1) that avoids tedious Node/npm‑based installs. Besides the “how”, the article also points out useful details such as mapping host and container ports, using /wetty as the path, and verifying the container is running. For DevOps teams or interns building remote access or management workflows in a secure way, this tutorial bridges setup to usage extremely well.

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

2
0
Would love your thoughts, please comment.x
()
x