FG
💻 Software

SFTP ChRoot result in broken pipe

Fresh5 days ago
Mar 15, 202639886 views
Confidence Score0%
0%

Problem

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : http://shapeshed.com/chroot_sftp_users_on_ubuntu_intrepid/) For now, I've created a user (sio2104) and a group (magento).After following the guid…

Error Output

-rw-r--r--  1 root root       27 2012-02-01 14:23 index.html
-rw-r--r--  1 root root       21 2012-02-01 14:24 info.php
drwx------ 15 root root     4…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: SFTP ChRoot result in broken pipe

Low Risk

I had the same problem. The chroot-dir must be set to owner root and group root. (chown root:root chroot-dir)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment