Skip to main content

Settings

Color Mode

Theme Skin

Background

Appearance preferences are saved in this browser only.

Environment

Current Environment Production

Built with JEKYLL_ENV=production. Changes require deployment.

Quick Links

Theme & Build

Jekyll v3.10.0
Last BuildNov 24, 17:25

Page Location

Page Info

Layout default
Collection wargames
Path _wargames/bandit/bandit28.md
URL /wargames/bandit/bandit28/
Date 2026-04-07

Bandit Level 28

Bandit Level 28 — clone a Git repository over SSH from your own machine and read its files.

Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.

Level Goal

There is a git repository at ssh://bandit27-git@bandit.labs.overthewire.org/home/bandit27-git/repo via the port 2220. The password for the user bandit27-git is the same as for the user bandit27.

From your local machine (not the OverTheWire machine!), clone the repository and find the password for the next level. This needs git installed locally on your machine.

Commands you may need to solve this level

git

Helpful Reading Material

Study guide

Level map: using the password for bandit27, find the password for bandit28.

What this level teaches

The basic Git workflow: cloning a remote repository over SSH.

Key ideas

  • Repository. A folder whose history of changes is stored in a hidden .git directory.
  • git clone URL copies the repository to your machine. SSH URLs have the form ssh://user@host:PORT/path; note that the port goes in the URL.
  • Work locally. The Level Goal asks you to do this on your own machine, so install Git there first.

How to approach it

  1. Clone using the URL given, supplying the password when asked.
  2. Read the files in the working tree, starting with a README if present.

Why it matters

Git is the foundation of modern software development, and every remaining Bandit level is a lesson in how it stores history.