Skip to content

sshd config Include failed to read Windows file path #2019

@tgauth

Description

@tgauth

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Add Include directive to sshd_config where is a text file that is also in the programData\ssh folder.

Expected behavior

sshd includes the configuration option(s) specified in the included file

Actual behavior

sshd cannot find the file so the configuration option(s) are not set

Error details

debug2: __PROGRAMDATA__\\ssh/sshd_config line 9: new include __PROGRAMDATA__\\ssh/<filename>
debug2: __PROGRAMDATA__\\ssh/sshd_config line 9: no match for __PROGRAMDATA__/ssh/<filename>

Environment data

N/A

Version

any

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions