[How-To Question] Restrict users to a specific directory on Windows 2012 server

Tan Zi Wei tan_z_w at yahoo.com.sg
Sun Jan 31 21:17:41 AEDT 2016


Hi OpenSSH Developers,
Good day to you. 
I had installed the latest OpenSSH SFTP server onto a Windows 2012 R2 server. Everything works flawlessly until I encountered this problem. I am not sure how to configure a "home" directory to each individual users so that when they login, they can only see their own folder and cannot browse other folders at all. Tried to use the "Match User" option but it will also default to "C:\Users\<username>" folder. Can you advise how I can restrict users from browsing and can only see their own folder which is located on D:\Users\<username>?
Many thanks in advance.
Tan


More information about the openssh-unix-dev mailing list