Ik blijf vast hangen op het volgende level van overthewire. Ik heb het wachtwoord voor level 27 verkregen door de voorgaande opdracht en het lukt mij dan ook om hier mee in te loggen via SSH als bandit27. Echter de opdracht geeft aan dat het lokaal vanaf de machine moet gebeuren.
overthewire.org
Ik gebruik het volgende commando om deze te verkrijgen:
OverTheWire: Level Goal
Ik gebruik het volgende commando om deze te verkrijgen:
Code:
bandit27@bandit:/tmp/tmp.Ks2cHlyUkh$ git clone ssh://bandit27-git@localhost:2220/home/bandit27-git/repo
Cloning into 'repo'...
The authenticity of host '[localhost]:2220 ([127.0.0.1]:2220)' can't be established.
ED25519 key fingerprint is: SHA256:C2ihUBV7ihnV1wUXRb4RrEcLfXC5CXlhmAAM/urerLY
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Could not create directory '/home/bandit27/.ssh' (Permission denied).
Failed to add the host to the list of known hosts (/home/bandit27/.ssh/known_hosts).
_ _ _ _
| |__ __ _ _ __ __| (_) |_
| '_ \ / _` | '_ \ / _` | | __|
| |_) | (_| | | | | (_| | | |_
|_.__/ \__,_|_| |_|\__,_|_|\__|
This is an OverTheWire game server.
More information on http://www.overthewire.org/wargames
!!! You are trying to log into this SSH server with a password on port 2220 from localhost.
!!! Connecting from localhost is blocked to conserve resources.
!!! Please log out and log in again.
backend: gibson-1
Received disconnect from 127.0.0.1 port 2220:2: no authentication methods enabled
Disconnected from 127.0.0.1 port 2220
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.