force-command unable to pass arguments along to internal-sftp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portable OpenSSH |
Fix Released
|
Unknown
|
|||
openssh (Debian) |
Fix Released
|
Unknown
|
|||
openssh (Ubuntu) |
Fix Released
|
Low
|
Colin Watson | ||
Karmic |
Won't Fix
|
Low
|
Colin Watson |
Bug Description
Source package: openssh_
Ubuntu Release: Jaunty
Package Version: openssh-
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:/
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.
Changed in openssh: | |
status: | Unknown → Fix Released |
Changed in openssh (Debian): | |
status: | Unknown → New |
Changed in openssh (Ubuntu): | |
importance: | Undecided → Low |
Changed in openssh (Ubuntu Karmic): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in openssh (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in openssh (Debian): | |
status: | New → Fix Released |
The attached patch is taken from the first of the above links and adjusted to patch the openssh_ 5.1p1-5ubuntu1 source package.