PowerShell / PowerShell/Win32-OpenSSH

Cannot log the SFTP file transfer operations of a CHROOTED non-admin user account on Windows Server

Open
#1,669 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH

  • No

Please answer the following

"OpenSSH for Windows" version
sshd.exe File version: 8.1.0.0

Server OperatingSystem

  • Windows Server 2019 Standard

Client OperatingSystem

  • Windows Server 2019 Standard

What is failing

  • The file transfer logging for a chrooted (to a separate drive) and non-administrative user account does not get generated.
    Important note: I already gave the connecting user's account write rights to C:\OpenSSH\logs and C:\ProgramData\ssh\logs folders.

Expected output

  • File transfer logfile.

Actual output

  • Nothing. The file does not get generated.

Attached sshd_config file.
sshd_config.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached sshd_config.txt and the linked troubleshooting steps, then reproduce SFTP transfer logging with a chrooted non-administrative account on Windows Server 2019. Compare the configured logging behavior with the C:\OpenSSH\logs and C:\ProgramData\ssh\logs paths; done means the expected file-transfer log is generated or the missing prerequisite is documented.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.