[Bug 177] provide chroot option for sftp-server

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri May 11 08:02:47 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=177





--- Comment #13 from Joshua Pettett <devel at homelinkcs.com>  2007-05-11 08:02:44 ---
Created an attachment (id=1277)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1277)
Pre-shell tilde expantion proof-of-concept hack

(In reply to comment #12)
> So far, the only serious issue I've found is that tilde expansion
> done by the shell uses the $HOME environment variable, which can of
> course be set in .ssh/environment .

In light of this, would it be appropriate for sshd to expand a tilde in
a subsystem argument before passing it to the shell?  A kludgy
proof-of-concept hack is attached.


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the openssh-bugs mailing list