On Wed, Jul 17, 2013 at 02:47:46PM -0400, John Robison wrote:
[...]
> I uncomment chrootpath and set it to what should be a valid chroot path,
> sftp logins will terminate immediately after I enter the SFTP password.
> 
> If you know how to solve the above problem, great, but I'm more interested
> in getting some useful logs that will help me troubleshoot this problem.

Your problem (or rather, both of them) is that your jail is not set up
correctly.  You can't get the logs once you're chrooted until the
chroot jail is set up properly.  

The documentation that comes with rssh goes to great detail to
describe how to do this properly.  The relevant documentation is in
the tarball, if you installed from source, or usually installed in
/usr/share/doc/rssh or some similar such distribution-dependent path,
and is in the file called CHROOT.  Some distributions also put a
system-dependent script there, to help you set up a chroot jail.  Alas,
the process IS system dependent, which is why rssh doesn't do this for
you.

If you've read the docs and you still can't figure out how to make it
work, the list archives are full of solutions to this problem; in fact
it is very nearly the only thing that anyone ever posts about.  One of
them is bound to help you.

-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D

Attachment: pgpoWJ2PtnN58.pgp
Description: PGP signature

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to