openssh-portable icon indicating copy to clipboard operation
openssh-portable copied to clipboard

Permit the %l and %L escapes in the Include directive.

Open rpigott opened this issue 1 year ago • 2 comments

These patches were originally submitted on-list in [1] and [2], but it I am resubmitting them here.

The goal is to enable including per (local) host configuration for ssh.

[1] https://lists.mindrot.org/pipermail/openssh-unix-dev/2023-June/040788.html

[2] https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041437.html

rpigott avatar Jul 06 '24 21:07 rpigott

See https://bugzilla.mindrot.org/show_bug.cgi?id=3246 for a more comprehensive patch that allows most of the common %-characters as well as environment variables.

djmdjm avatar Aug 17 '24 08:08 djmdjm

Hi @djmdjm, that patch LGTM. I tried it and it works as expected. Happy to close this PR if that can be merged instead.

rpigott avatar Aug 17 '24 19:08 rpigott

Closing in favor of @djmdjm's patch.

rpigott avatar Sep 07 '24 15:09 rpigott