Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

legba gives "No common key exchange algorithm" error for SSH mode #2

@SomnathRangrej

Description

@SomnathRangrej

@LeonardoE95

In file: https://github.com/LeonardoE95/yt-en/blob/main/src/2024-05-13-web-exploitation-bruteforcing/content/legba/commands.txt

When ran the command from the container, I get below error, any idea on the resolution? I did follow the steps given

`
root@machine01:/# legba ssh --username sshuser --password /data/passwords.txt --target 127.0.0.1
legba v0.10.0

[INFO ] target: 127.0.0.1
[INFO ] username -> string 'sshuser'
[INFO ] password -> wordlist /data/passwords.txt

[INFO ] tasks=2 mem=19.8 MiB targets=1 attempts=61 done=0 (0.00%) speed=0 reqs/s
[INFO ] tasks=2 mem=20.1 MiB targets=1 attempts=61 done=0 (0.00%) speed=0 reqs/s
[INFO ] tasks=2 mem=20.3 MiB targets=1 attempts=61 done=0 (0.00%) speed=0 reqs/s
[INFO ] tasks=2 mem=20.3 MiB targets=1 attempts=61 done=0 (0.00%) speed=0 reqs/s
[ERROR] [127.0.0.1] attempt 5/5: Ssh error occured: No common key exchange algorithm
[ERROR] [127.0.0.1] attempt 5/5: Ssh error occured: No common key exchange algorithm
[INFO ] tasks=2 mem=20.3 MiB targets=1 attempts=61 done=61 (100.00%) errors=2 speed=61 reqs/s
[INFO ] runtime 5.073211671s
root@machine01:/# cat /data/passwords.txt | head -3
password
admin
password123
root@machine01:/#
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions