Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

rpigott
Copy link

@rpigott rpigott commented Jul 6, 2024

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

This allows the localhost percent-style escapes in arguments to the
Include directive. These are useful for including host-specific ssh
configuration.
This allows the localhost percent-style escapes in arguments to the
Include directive. These are useful for including host-specific sshd
configuration.
@djmdjm
Copy link
Contributor

djmdjm commented Aug 17, 2024

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.

@rpigott
Copy link
Author

rpigott commented Aug 17, 2024

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
Copy link
Author

rpigott commented Sep 7, 2024

Closing in favor of @djmdjm's patch.

@rpigott rpigott closed this Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants