8000 8000
Skip to content

ssh: Discard stderr of lsb_release for Distro lookup#2704

Merged
peace-maker merged 3 commits intoGallopsled:devfrom
peace-maker:ssh_lsb_release
Apr 3, 2026
Merged

ssh: Discard stderr of lsb_release for Distro lookup#2704
peace-maker merged 3 commits intoGallopsled:devfrom
peace-maker:ssh_lsb_release

Conversation

@peace-maker
Copy link
Copy Markdown
Member

The "No LSB modules are available." spam interferes with parsing the output for the initial checksec distro parsing when connecting to a new host. Redirect stderr to /dev/null to ignore it.

Before:

[+] Connecting to bandit.labs.overthewire.org on port 2220: Done
[*] bandit0@bandit.labs.overthewire.org:
    Distro    Unknown
    OS:       linux
    Arch:     amd64
    Version:  6.14.0
    ASLR:     Disabled
    SHSTK:    Disabled
    IBT:      Disabled

After:

[+] Connecting to bandit.labs.overthewire.org on port 2220: Done
[*] bandit0@bandit.labs.overthewire.org:
    Distro    Ubuntu 24.04
    OS:       linux
    Arch:     amd64
    Version:  6.14.0
    ASLR:     Disabled
    SHSTK:    Disabled
    IBT:      Disabled

The "No LSB modules are available." spam interferes with parsing the output for the initial checksec distro parsing when connecting to a new host.
@peace-maker peace-maker merged commit f55f440 into Gallopsled:dev Apr 3, 2026
15 checks passed
@peace-maker peace-maker deleted the ssh_lsb_release branch April 3, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0