Re: [Fwd: rssh and RedHat authentication problem]
Brought to you by:
xystrus
From: Derek M. <co...@pi...> - 2003-11-07 06:25:04
|
On Mon, Nov 03, 2003 at 02:31:16PM +0000, Matthew Claridge wrote: > ok, I've fixed the problem below, by copying all the libraries again - > must have missed something.... > anyway, I'm at the stage now where I can connect and the > rssh_chroot_helper is doing its bit, but the connection then drops. > The following is logged by ssh: Based on the log output you give (below), I'd have to disagree: rssh_chroot_helper is not running. Or at the very least, you don't have logging set up correctly. > [2801]: setting log facility to LOG_USER > [2801]: allowing scp to all users > [2801]: allowing sftp to all users > [2801]: setting umask to 022 > [2801]: chrooting all users to /usr/chroot > [2801]: line 32: configuring user test1 > [2801]: setting test1's umask to 022 > [2801]: allowing scp to user test1 > [2801]: allowing sftp to user test1 > [2801]: chrooting test1 to /usr/chroot/home/test1 > [2801]: chroot cmd line: /usr/local/libexec/rssh_chroot_helper > "/usr/chroot/home/test1" 2 "/" /usr/libexec/openssh/sftp-server > [2800]: session closed for user test1 There's no session log from the chroot helper. This is a sure sign that your jail is not set up correctly. Unfortunately, there's no way for me to guess what you've missed. All of the steps for setting it up are essential, and missing any of them, or even a single library, produces the same exact result: the chroot helper dies without doing anything useful. Hope that helps. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D |