Use the SFTP protocol by default. The original scp/rcp protocol remains
authordjm <djm@openbsd.org>
Wed, 8 Sep 2021 23:31:39 +0000 (23:31 +0000)
committerdjm <djm@openbsd.org>
Wed, 8 Sep 2021 23:31:39 +0000 (23:31 +0000)
commit6bdb32a3f5cf114d398d0fdd7242083f27db1f30
tree89e831ac03e1bf55f93c242d4a9bbddcb2ee2a8e
parent4f06d84d5cd1ce1a485bbc9decb45a47f8d36f5c
Use the SFTP protocol by default. The original scp/rcp protocol remains
available via the -O flag.

Note that ~user/ prefixed paths in SFTP mode require a protocol extension
that was first shipped in OpenSSH 8.7.

ok deraadt, after baking in snaps for a while without incident
usr.bin/ssh/scp.1
usr.bin/ssh/scp.c