when scp is in SFTP mode, try to deal better with ~ prefixed
authordjm <djm@openbsd.org>
Mon, 9 Aug 2021 23:44:32 +0000 (23:44 +0000)
committerdjm <djm@openbsd.org>
Mon, 9 Aug 2021 23:44:32 +0000 (23:44 +0000)
commit87f870c24a9d08301079485dca92fa771f16495f
tree02e820bcfac1326aa217ffd4eeea469d2a7a23e4
parent6343cd309e0aa28e5bbb341b313dc3f1d3a643db
when scp is in SFTP mode, try to deal better with ~ prefixed
paths. ~user paths aren't supported, but ~/ paths will be accepted
and prefixed with the SFTP server starting directory (more to come)

prompted by and discussed with deraadt@
ok markus@
usr.bin/ssh/scp.c