[wishlist] rssh git support (with patch)

Bug #734530 reported by aporter
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rssh (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: rssh

This is a wishlist request, but it includes a patch. I'm wary requesting this upstream, because I have heard the maintainer is not accepting new features.

I did not make this patch, i found it here: http://www.nod.at/~richard/alltag/rssh-git.patch Hopefully that is ok license wise.

It is against the vanilla 2.3.2 version. 2.3.2 is also found in Natty.

Please let me know how else I can help.

Tags: patch
Revision history for this message
aporter (aporter) wrote :
tags: added: patch
Daniel T Chen (crimsun)
Changed in rssh (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Russ Allbery (rra-debian) wrote :

The version of rssh in Ubuntu is from Debian and is already patched for Subversion support, which means that this patch doesn't apply directly to the current package. (Subversion has already stolen the next number.)

The patch would need to update conf_convert.sh as well and modify the postinst script so that existing configuration files are upgraded.

Adding multiple commands for Git isn't horribly appealing. I wonder if there's some way to just have rssh delegate the work of restricting the Git command to git-shell, which already has all of this logic and is separately maintained by Git experts who know what's needed. (Note, for example, that it supports two more commands than this patch.) That would give you the chroot benefits of rssh without making rssh reinvent the logic of git-shell, although you'd still have to detect whether a Git command is being run.

I personally only use rssh without chroot as a restricted shell, so for me git-shell is sufficient and I therefore am not inspired to work personally on this, but I'd consider a patch for the Debian package if it included the above changes.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.