scp: when copying local->remote, check that source file exists before
authordjm <djm@openbsd.org>
Mon, 27 Mar 2023 03:25:08 +0000 (03:25 +0000)
committerdjm <djm@openbsd.org>
Mon, 27 Mar 2023 03:25:08 +0000 (03:25 +0000)
commit2863c94c026ba4fb4340b2d70359ff0703bb41b9
treef71362e50f3dd8d66bb48168ed56b8ab731532e9
parentaad183ce2f854871d5f3d28459eec7f539e52402
scp: when copying local->remote, check that source file exists before
opening SFTP connection to the server. Based on GHPR#370
ok dtucker, markus
usr.bin/ssh/scp.c