Re: chroot SSH users.

2009-12-28 Thread krad
2009/12/27 Marwan Sultan > > Dear Krad, > Thank you for your reply, regarding your answer, i have few questions here > > 1- > in sshd_config file the default line is : > Subsystem sftp/usr/libexec/sftp-server > > So should i comment out the line? or just add your line ? > Subsystem

Re: chroot SSH users.

2009-12-28 Thread krad
2009/12/28 Tijl Coosemans > On Sunday 27 December 2009 18:16:47 krad wrote: > > fairly easy if you read the man page 8) I wrote this howto for sun > > boxes at work but it was using openssh so same rules should apply. > > Make sure chroot support was compiled in though > > > >1. Dont bother w

Re: chroot SSH users.

2009-12-28 Thread Tijl Coosemans
On Sunday 27 December 2009 18:16:47 krad wrote: > fairly easy if you read the man page 8) I wrote this howto for sun > boxes at work but it was using openssh so same rules should apply. > Make sure chroot support was compiled in though > >1. Dont bother with sun ssh it wont work. Opensolaris a

RE: chroot SSH users.

2009-12-27 Thread Marwan Sultan
Dear Krad, Thank you for your reply, regarding your answer, i have few questions here 1- in sshd_config file the default line is : Subsystem sftp/usr/libexec/sftp-server So should i comment out the line? or just add your line ? Subsystem sftp internal-sftp 2- the SS

Re: chroot SSH users.

2009-12-27 Thread krad
2009/12/27 Marwan Sultan > > Hello people, > > > > Im on FreeBSD 7.2-R P5 > > > > Its easy to chroot ftp users - adding users to /etc/ftpchroot -makes the > job easy. > > > > How about if I want to chroot the SSH users (not ftp) > > any easy way? no need for jail installation or anything like