[SGVLUG] OpenSSH sftp and rssh

John E. Kreznar jek at ininx.com
Wed Mar 29 11:45:02 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[This is a re-send.  The first went out of here successfully at 03:01
but has not appeared.]

James Neff <jneff at tethyshealth.com> writes:

> The sFTP services work by themselves just fine.  I can login and
> transfer files using an sFTP client.  My problem is when I try to chroot
> it (either with rssh or the chroot patch for OpenSSH).  I cannot connect
> when I follow any of the instructions that I've seen so far.  If I go
> back to plain 'ole sFTP without trying to jail the user then it does
> work.  But I want to be able to restrict the user to their home directory.

Check the "subsystem login" feature of login(1).  Please let us know
whether that's what you needed.

- -- 
 John E. Kreznar jek at ininx.com 9F1148454619A5F08550 705961A47CC541AFEF13
  Operating a computer with a GUI is like driving a car with
   an animated cartoon in place of the clear front window.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFEKt0cYaR8xUGv7xMRAljsAJ4rJoCAbXP0Ci5qO2T5wRFZ07AdiwCeJa70
CJ7FXLAc9JM7OVbLVjWO5qo=
=RTgE
-----END PGP SIGNATURE-----



More information about the SGVLUG mailing list