Skip to content

SSH: Catch timeout error #358

Closed
Closed

Description

@Marshall-Hallenbeck

Describe the bug
We aren't properly catching a timeout error while connecting, causing a lot of annoying stack traces

To Reproduce
Steps to reproduce the behavior i.e.:
Command: netexec ssh -u username -p password, and have it timeout
Resulted in:

image

Expected behavior
We should properly catch the TimeoutError thrown

NetExec info

  • OS: Kali
  • Version of nxc: 1.2.0 - ItsAlwaysDNS - cce5c32e
  • Installed from: GitHub & pipx

Activity

  1. added a commit that references this issue on Sep 19, 2026
    60b3a5d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions