»

How can chroot sftp-only SSH users into their homes?

Log — Tags: , , — Posted by Starck on June 8, 2014

Here is a guide for setting up SFTP users who’s access is restricted to their home directory.

/etc/ssh/sshd_config

Notes: (Important!)

If you got the login failed message:

Write failed: Broken pipe

Change the user and access permission:

(c) 2024 Starck Lin | powered by WordPress