sftp-server: support home-directory request
authordjm <djm@openbsd.org>
Fri, 12 Aug 2022 05:20:28 +0000 (05:20 +0000)
committerdjm <djm@openbsd.org>
Fri, 12 Aug 2022 05:20:28 +0000 (05:20 +0000)
commitd71621f64d850a53d8f2e4b3d51392b9f63654e9
tree9ac50ad4b99df79aedc35c71e6930b0df74ed939
parent78156938567f79506a923cf635bd525907207a76
sftp-server: support home-directory request

Add support to the sftp-server for the home-directory extension defined
in draft-ietf-secsh-filexfer-extensions-00. This overlaps a bit with the
existing expand-path@openssh.com, but uses a more official protocol name,
and so is a bit more likely to be implemented by non-OpenSSH clients.

From Mike Frysinger, ok dtucker@
usr.bin/ssh/PROTOCOL
usr.bin/ssh/sftp-server.c