Skip to content

Ticket #5112: highlight OpenSSH ssh_config / sshd_config files - #5149

Closed
valleyco wants to merge 1 commit into
MidnightCommander:masterfrom
valleyco:5112_ssh_config_syntax
Closed

Ticket #5112: highlight OpenSSH ssh_config / sshd_config files#5149
valleyco wants to merge 1 commit into
MidnightCommander:masterfrom
valleyco:5112_ssh_config_syntax

Conversation

@valleyco

@valleyco valleyco commented Sep 2, 2026

Copy link
Copy Markdown

Proposed changes

Map extensionless OpenSSH client and server config filenames (ssh_config, sshd_config, and dotted backups such as sshd_config.bak) to the existing conf.syntax highlighter so mcedit no longer reports them as unknown.

Drop-ins under *.d/*.conf were already covered by the generic *.conf rule.

Checklist

  • I have referenced the issue(s) resolved by this PR (if any)
  • I have signed-off my contribution with git commit --amend -s
  • Lint and unit tests pass locally with my changes (make indent && make check)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)

…nfig files

Map extensionless OpenSSH client/server config filenames to the existing
conf.syntax highlighter.

Signed-off-by: David Levy <levydav@gmail.com>
@github-actions github-actions Bot added needs triage Needs triage by maintainers prio: medium Has the potential to affect progress labels Sep 2, 2026
@github-actions github-actions Bot added this to the Future Releases milestone Sep 2, 2026
@valleyco

valleyco commented Sep 2, 2026

Copy link
Copy Markdown
Author

Closing to re-open with a cleaned-up description.

@valleyco valleyco closed this Sep 2, 2026
@github-actions github-actions Bot removed this from the Future Releases milestone Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs triage Needs triage by maintainers prio: medium Has the potential to affect progress

Development

Successfully merging this pull request may close these issues.

syntax: default highlighting for OpenSSH client/server config (ssh_config, sshd_config)

2 participants