Skip to content

Using patterns on host does not define settings on matching hosts #77

@Midas-sudo

Description

@Midas-sudo

Checks

LazySSH Version

0.3.0

Operating System

Linux - Ubuntu 24

Description

In situations where hosts are defined using pattern matching, the setting are not being set for the hosts that match. Example:

Host lab-serv1
    hostname 10.10.0.1
    user admin

Host lab-serv2
    hostname 10.10.0.2

Host server-behind-lab
    hostname 10.30.0.1
    user testuser
    port 1234
    proxyjump lab-serv1
    localforward 7630 127.0.0.1:7630

Host lab-*
    user user123
    proxyjump jumper1

The hosts lab-serv1 and lab-serv2 do not show the proxyjump as it would be supposed:

Image

Expected information:
Image

Similarly, lab-serv2 should inherite the user from the pattern matching host, however it does not appear in the tui.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions