[Bug 3486] SSH_ORIGINAL_COMMAND does not contan the original command anymore

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Oct 20 09:49:19 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3486

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |djm at mindrot.org
         Resolution|---                         |WONTFIX

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
SSH_ORIGNAL_COMMAND is accurate: for the last few releases scp(1) has
used the sftp protocol for file transfers, and the sftp protocol
doesn't operate via the command-line as the scp/rcp protocol did.

So there's no way to get the paths back in SSH_ORIGINAL_COMMAND for
newer scp clients. 

The only controls over file visibility that are available for
sftp-server are sshd_config ChrootDirectory and file system
permissions.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list