bladez99
June 15th, 2009, 08:29 AM
Can some one lead me to a proper way of chrooting ssh on ubuntu 9.04 ?..
i tried googling around n tried mane tutorials and so on so forth but couldnt get it work.
i have managed to chroot sftp via internal-sftp command and editting here n there alil.
but chrooting ssh using rssh or rbash just doesnt seem to work for me.
Below is my directory listing in the text file.
n here is the extract of my /etc/passwd
firesh.bakhda:1003:1003:/home/chroot/firesh.bakhda::/usr/bin/rssh
but wat happens is it closes the session connection as soon as i try to connect. why is tat so?hopefully someone can guide me with true steps
i tried googling around n tried mane tutorials and so on so forth but couldnt get it work.
i have managed to chroot sftp via internal-sftp command and editting here n there alil.
but chrooting ssh using rssh or rbash just doesnt seem to work for me.
Below is my directory listing in the text file.
n here is the extract of my /etc/passwd
firesh.bakhda:1003:1003:/home/chroot/firesh.bakhda::/usr/bin/rssh
but wat happens is it closes the session connection as soon as i try to connect. why is tat so?hopefully someone can guide me with true steps