make scp in SFTP mode try to use relative paths as much as possible.
authordjm <djm@openbsd.org>
Mon, 9 Aug 2021 23:49:31 +0000 (23:49 +0000)
committerdjm <djm@openbsd.org>
Mon, 9 Aug 2021 23:49:31 +0000 (23:49 +0000)
commiteb4813599310c52c0992885752c2dfcdee3f95e6
tree44ef94bfee7783ce28501826191ffc57e276e0f4
parente4383b479f48f8d2d6932c82e63ed23b49c0c9a2
make scp in SFTP mode try to use relative paths as much as possible.
Previosuly, it would try to make relative and ~/-rooted paths absolute
before requesting transfers.

prompted by and much discussion deraadt@
ok markus@
usr.bin/ssh/scp.c