Marc Berthoud <mg...@cornell.edu> writes:

> Possible solution to the getting "Connection Closed" problem: Make sure 
> the /usr/lib/rssh/rssh_chroot_helper has setuid permissions i.e. 
> -rwsr-xr-x and not -rwxr-xr-x.

> Details: I had that problem on a new debian install (Ubuntu Server 
> 15.10). Took a annoyingly long time to dig up this solution online after 
> looking through the system logs.

I assume that you have your debconf prompt level turned way up so that you
didn't see the prompt about this during installation?  If you try:

    dpkg-reconfigure rssh

you should get a prompt asking you whether you are planning on using the
chroot functionality and want to make that binary setuid root.

-- 
Russ Allbery (ea...@eyrie.org)              <http://www.eyrie.org/~eagle/>

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to