chrooted ssh/scp

Michael Clark MClark at
Mon Feb 2 08:40:47 PST 2004

its in ports...

-----Original Message-----
From: Luke Kearney [mailto:lukek at]
Sent: Monday, February 02, 2004 10:34 AM
To: Michael Clark
Cc: 'freebsd-questions at'; Evan Sayer
Subject: Re: chrooted ssh/scp

On Mon, 2 Feb 2004 10:02:32 -0600 
Michael Clark <MClark at> granted us these pearls of wisdom:

> sshd2 will do this and if you read the license I believe it is legal to
> for most users.
> Else you can use sudo to make a ssh chroot.  
> google groups has some explainations of how to do this.
> Michael Clark
> Nemschoff Chairs Inc
> mclark at nemschoff dot com
> CompTIA A+, MCP
> Voice: (920) 457 7726 x294
> Fax:  (920) 453 6594
> -----Original Message-----
> From: Lowell Gilbert [mailto:freebsd-questions-local at]
> Sent: Monday, February 02, 2004 8:11 AM
> To: Evan Sayer
> Cc: freebsd-questions at
> Subject: Re: chrooted ssh/scp
> Evan Sayer <esayer1 at> writes:
> > Does anyone know how to make it so that users can ssh in and get a
> > normal shell or scp in and get or send files but only within their own
> > home directories via chroot?
> The commercial ssh server has that capability built in, but the free
> ones don't, last I checked.  You should be able to hook up jail(8) or
> chroot(8) to the account itself, though...

excuse me if this seems off topic but a quick check over at
revealed no obvious links to a downloadable version that would not
require a license. Pray tell where I might find the binaries. I would
like to give sshd2 a run and see if it might fix a problem that has been
nagging at me for a bit.



CONFIDENTIALITY NOTE: This electronic transmission, including all
attachments, is directed in confidence solely to the person(s) to whom it is
addressed, or an authorized recipient, and may not otherwise be distributed,
copied or disclosed. The contents of the transmission may also be subject to
intellectual property rights and all such rights are expressly claimed and
are not waived. If you have received this transmission in error, please
notify the sender immediately by return electronic transmission and then
immediately delete this transmission, including all attachments, without
copying, distributing or disclosing same. 

More information about the freebsd-questions mailing list