Re: git: fb5aabcb990b - main - scp: switch to using the SFTP protocol by default

From: Ed Maste <emaste_at_freebsd.org>
Date: Fri, 15 Apr 2022 23:17:14 UTC
On Fri, 15 Apr 2022 at 10:47, Ed Maste <emaste@freebsd.org> wrote:
>
> The branch main has been updated by emaste:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=fb5aabcb990bdc9a2359f56b714795da0d79416d
>
> commit fb5aabcb990bdc9a2359f56b714795da0d79416d
> Author:     Ed Maste <emaste@FreeBSD.org>
> AuthorDate: 2022-04-14 00:50:17 +0000
> Commit:     Ed Maste <emaste@FreeBSD.org>
> CommitDate: 2022-04-15 14:47:28 +0000
>
>     scp: switch to using the SFTP protocol by default

Note that this requires the "sftp" subsystem to be enabled on the
server. It has been enabled by default in sshd_config on FreeBSD since
the early 2000s, but custom configurations may need updating.

from sshd_config(5):
     Subsystem
             Configures an external subsystem (e.g. file transfer daemon).
             Arguments should be a subsystem name and a command (with optional
             arguments) to execute upon subsystem request.

             The command sftp-server implements the SFTP file transfer
             subsystem.

             Alternately the name internal-sftp implements an in-process SFTP
             server.  This may simplify configurations using ChrootDirectory
             to force a different filesystem root on clients.

             By default no subsystems are defined.

Thanks Li-Wen for noting this.