force-command unable to pass arguments along to internal-sftp

Bug #362510 reported by Carsten Andrich
2
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
New
Undecided
Unassigned

Bug Description

Source package: openssh_5.1p1.orig.tar.gz + openssh_5.1p1-5ubuntu1.diff.gz
Ubuntu Release: Jaunty
Package Version: openssh-server_5.1p1-5ubuntu1

When using OpenSSH's ForceCommand sshd_config directive to launch its internal-sftp, it is not possible to pass arguments to the latter. Example:
This fails (sshd tries to invoke it as if it were an application):
> ForceCommand internal-sftp -l INFO
This works:
> ForceCommand internal-sftp

This bug has already been fixed in the upstream version of OpenSSH, see: https://bugzilla.mindrot.org/show_bug.cgi?id=1527 and http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.241;r2=1.242;f=h

I consider this bug as of pretty low priority since it only matters for ppl who use ForceCommand + the internal-sftp + care about logging (transfer) actions made by clients.

I have compiled a fixed version (attached patch applied) of OpenSSH in my PPA, just in case anyone would like to use that feature, too.

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.