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

sshd config Include failed to read Windows file path #2019

Closed
3 tasks done
tgauth opened this issue Dec 30, 2022 · 0 comments · Fixed by PowerShell/openssh-portable#653
Closed
3 tasks done

sshd config Include failed to read Windows file path #2019

tgauth opened this issue Dec 30, 2022 · 0 comments · Fixed by PowerShell/openssh-portable#653

Comments

@tgauth
Copy link
Collaborator

tgauth commented Dec 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant