Skip to content

[BUG] #1216

Description

@pgmitch02

Title

Status check triggers a full SSH authentication attempt even when metricsEnabled is false

Platform

Desktop App - Windows

Server Installation Method

N/A

Version

2.7.1

CLI Installation Method

None

CLI Version

No response

Troubleshooting

  • I have examined logs and tried to find the issue
  • I have reviewed opened and closed issues
  • I have tried restarting the application
  • I have checked open issues and ensured this is not a duplicate

The Problem

Status check on an SSH host with metrics disabled is supposed to just be a TCP ping. Instead it's doing a full SSH auth attempt on every status check interval. On a RADIUS/Duo backed switch this means a live Duo push every interval, for every host, with zero tabs or sessions open.

How to Reproduce

  1. Install Termix 2.6.0 (or earlier), add SSH hosts with statusCheckEnabled: true and metricsEnabled: false, confirm status checks are just TCP pings (no auth attempts on the target).
  2. Upgrade to 2.7.1 via the MSI installer
  3. Open the app
  4. Watch the auth logs on an SSH host that has statusCheckEnabled: true and metricsEnabled: false a full SSH login attempt fires on that host, with no tabs open.
  5. To rule out a stale config: uninstall, delete the app data folder, reinstall fresh.
  6. Import hosts from a JSON export (statsConfig included, metricsEnabled: false on each host).
  7. As soon as the import finishes, the same behavior happens. SSH login attempts fire against every imported host on the next status check interval, still with no tabs open.

Additional Context

Easier to see with switches where radius auth 2fa enabled. Otherwise you'll have to look through local appdata to see session logs.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions