Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2022 19:17:14 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        src-committers <src-committers@freebsd.org>,  "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: fb5aabcb990b - main - scp: switch to using the SFTP protocol by default
Message-ID:  <CAPyFy2C3kgT1KA5AGfXqY=1iru4iS78VGNOyVfRkijD2LoUhXg@mail.gmail.com>
In-Reply-To: <202204151447.23FElYCQ089938@gitrepo.freebsd.org>
References:  <202204151447.23FElYCQ089938@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2C3kgT1KA5AGfXqY=1iru4iS78VGNOyVfRkijD2LoUhXg>