You are not logged in.
Hi,
I've had problems with openssh-chroot for a while now. The problem is that as soon as some one logs on to be chrooted the connection closes. I've found out that the problem has somthing to do with the chroot operation with openssh because chroot /chroot/ /bin/bash works just fine and if I change chuser:x:1004:1005::/chroot/./home/chuser:/bin/bash to chuser:x:1004:1005::/chroot/home/chuser:/bin/bash it's okay to login.
I've had it up and running earlier and I've tried to rebuild chroot environment. Have some one else had this problem and know a fix?
Regards
Offline
I found a solution. Don't really know it's a good solution but. Renaming /etc/pam.d/sshd{,.pam} solved the problem.
Offline
Thank you acura and buon. That solution works for me as well as far as ssh goes. SFTP is another matter entirely. I am still getting a 'Request for subsystem 'sftp' failed on channel 0'. I am going to keep looking around the forums before posting a question, but if either of you have any insights I will be checking back here periodically.
Offline