Skip to content

Issue: gsudo shell detection fails under ssh #407

@taviso

Description

@taviso

Issue Description

When logging into an sshd running under wsl, the shell detection logic in gsudo fails to detect wsl, and launches cmd.

Steps to Reproduce

  1. sudo apt install openssh-server
  2. sudo service ssh start
  3. ssh localhost
  4. gsudo

Screenshots

Image

Context:

  • Windows version: Windows 11 24H2 LTSC
  • gsudo version: v2.6.0

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