-
Notifications
You must be signed in to change notification settings - Fork 780
ChrootDirectory is inconsistent #1486
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
Comments
Please share the server side logs (sshd.log file). |
Log of two logins, one with correct chroot direcory and another with read-access to everything:
|
There is something wrong here Did you do any modifications to the log file? |
@bagajjal No, the log is copy-pasted directly. Don't know who used n is supposed to be. There is no difference between the two logins. I was using quick connect in FileZilla with the same username and password. Logging in the second time aborts the first connection and logs in anew. |
There's a group matching bug in that version. Please re-baseline with the latest. Reference: PowerShell/openssh-portable#380 |
@NoMoreFood Okay, now it works. Thanks! |
I have the following user configuration in
sshd_config
:I want the user to only see the folder specified in
ChrootDirecory
, however it's very inconsistent when it'll let the user wander around in the server's entire file directory of the server (e.g. I can look insystem32
) and sometimes it does it correctly.EDIT:
Gif of using FileZilla to access
"OpenSSH for Windows" version
7.7.2.1
Server OperatingSystem
Windows Server 2019 Datacenter
The text was updated successfully, but these errors were encountered: