Mate <[email protected]> writes:

> If I start sshd with
>
> # /usr/sbin/sshd -p2222 -ddd
>
> and user tries to log in on port 2222, this gets logged:
>
> subsystem request for sftp
> debug1: subsystem: exec() /usr/lib/openssh/sftp-server
> debug2: fd 3 setting TCP_NODELAY
> debug2: fd 10 setting O_NONBLOCK
> debug2: fd 9 setting O_NONBLOCK
> debug3: mm_request_receive entering
> debug1: Received SIGCHLD.
>
> Seems like the sftp-server can't start up.

Did you enable syslog logging in the chroot as described by the mkchroot
script to see if sftp-server is logging anything?  You may also need to
run sshd under strace -f so that you can see exactly what's happening with
sftp-server is spawned and why it might be exiting.

> # chown a+s /usr/lib/rssh/rssh_chroot_helper
> Surprisingly, setuid was not set by "apt-get install".

rssh asks you on installation in Debian whether you want to make the
helper setuid root.  You may have your prompt level set too high to see it
during installation, in which case you should run dpkg-reconfigure rssh to
see the prompt.

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to