From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OsIp6-0005sm-Dk for garchives@archives.gentoo.org; Sun, 05 Sep 2010 17:16:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80540E0636; Sun, 5 Sep 2010 17:15:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 64672E0636 for ; Sun, 5 Sep 2010 17:15:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 28AB51B406B for ; Sun, 5 Sep 2010 17:15:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.648 X-Spam-Level: X-Spam-Status: No, score=-0.648 required=5.5 tests=[AWL=0.463, BAYES_05=-1.11] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N2g8u0DSO3bM for ; Sun, 5 Sep 2010 17:15:13 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 9565C1B40CF for ; Sun, 5 Sep 2010 17:15:13 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OsIo8-0000cS-Ho for gentoo-user@gentoo.org; Sun, 05 Sep 2010 19:15:08 +0200 Received: from fornax.tvk.rwth-aachen.de ([137.226.143.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Sep 2010 19:15:08 +0200 Received: from mail by fornax.tvk.rwth-aachen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Sep 2010 19:15:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Kalkin Sam Subject: [gentoo-user] Re: creating ssh account without directory browsing Date: Sun, 5 Sep 2010 18:55:56 +0200 Organization: cologne.idle Message-ID: References: <4C70E194.2090904@googlemail.com> <4C7A37CC.7000009@googlemail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: fornax.tvk.rwth-aachen.de User-Agent: slrn/0.9.9p1 (Linux) X-Archives-Salt: 96c9db52-b11e-4ece-b4cb-c487c50ba4b9 X-Archives-Hash: 75fe7f07c9e95bf55f149ae1f97f6871 Hi, Young padawan Tamer Higazi spoke: > Everytime I uncomment: "ChrootDirectory /work" and I try to connect, I > receive this message on the console: > > Write failed: Broken pipe > > > Any ideas?! Yes RTFM and Google :) man sshd_config and look at ChrootDirectory entry: All components of the pathname must be root-owned directories that are not writable by any other user or group. After the chroot, sshd(8) changes the working directory to the user's home directory Here an Ubuntu forum which handles the same problem: http://ubuntuforums.org/showthread.php?t=1482005 kalkin- -- Paranoid sein heisst frei sein (Hal Faber)