Skip to content

TCP alias rejecting uppercase letters #237

@blop

Description

@blop

Hello,

It seems that the named TCP alias feature doesn't accept any uppercase letter.

The following commands are working :

ssh -R local:22:127.0.0.1:22 sish.server
ssh -R loc-al:22:127.0.0.1:22 sish.server
ssh -R local123:22:127.0.0.1:22 sish.server

The following commands are NOT working ("remote port forwarding failed for listen port") :

ssh -R Local:22:127.0.0.1:22 sish.server
ssh -R locAl:22:127.0.0.1:22 sish.server
ssh -R LOCAL:22:127.0.0.1:22 sish.server

As hostnames are case insensitive and we need to avoid collisions, shouldn't sish just lowercase the user input instead of throwing an error ? (same for -L tunnels)

Thank you!

Olivier

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