# Level 2

{% embed url="<https://overthewire.org/wargames/bandit/bandit2.html>" %}

Running the same ls command as before got us different results.

<figure><img src="https://323681977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxcaJ0rsG4dRV3B3bUeYA%2Fuploads%2FXrcmgOWrw32IXOfajXxn%2Fimage.png?alt=media&#x26;token=dad9264c-4caf-4925-a73c-d7a186ca1e27" alt=""><figcaption><p>listing all files at home dir</p></figcaption></figure>

Here we will output the contents of the file

```bash
cat ./-
```

Then the password revealed that can be used to bandit2!

```bash
ssh bandit2@bandit.labs.overthewire.org -p 2220
```
