From nobody Fri Apr 15 23:17:14 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2B2235D4B10; Fri, 15 Apr 2022 23:17:28 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgC0R39VRz3qBP; Fri, 15 Apr 2022 23:17:27 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f47.google.com with SMTP id b16so9554153ioz.3; Fri, 15 Apr 2022 16:17:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=GFOonUf7N9FofEcaxmtEUj2q3E2OxVE8AoSgz1k4LFE=; b=k3R3Myr60E4g/YJMqskUVPgBhwoZn2tP8LHhNhqZ4hokzzMR7YXJ+kYV6FcFVhMrzG zHatx2cgA32NNeLV11KLMIj0wdscLup9Rww3u4SEGeWddUoqK+0cCmzeTvQmX4RzOwJE c4nWWJddtUgAZc9HtmCVsn288oh0nCJuJbFAZC6BPpBzxx8vPbbljcEtjPF7F3RFZSXu 5XLkCpR43jsFTWZGLU6UANK9D3+7zZNRayliRU8tAFZH7ixspmjHe8X/Uao+t33OsLUZ TdgXo/aE32duOtf5KeG56ENIhBiId4gLHnkxezFw/okcHL75CWKFlyYcXCi3y6Tgu3B2 tCaw== X-Gm-Message-State: AOAM533OjYS8KvVX5Ev0ssTp38kqRfJY4x3hkzVX8gdzIbDBI4S+jSbu kpBL4ZDGqecf02UdDjRFmoK/ngSsAsOYxjHdUiridcUoLIM= X-Google-Smtp-Source: ABdhPJzJHI2ZBUlElVZ3bMShQkqtHRD85zy1irlEIg7PyDQ6okCvlkGgCmwe3541LCwiVq+hrKy7RBU4NNrI2f5YOjY= X-Received: by 2002:a05:6602:2a45:b0:648:b21c:6f49 with SMTP id k5-20020a0566022a4500b00648b21c6f49mr431273iov.206.1650064646133; Fri, 15 Apr 2022 16:17:26 -0700 (PDT) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 References: <202204151447.23FElYCQ089938@gitrepo.freebsd.org> In-Reply-To: <202204151447.23FElYCQ089938@gitrepo.freebsd.org> From: Ed Maste Date: Fri, 15 Apr 2022 19:17:14 -0400 Message-ID: Subject: Re: git: fb5aabcb990b - main - scp: switch to using the SFTP protocol by default To: src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KgC0R39VRz3qBP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.47 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[carpeddiem]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.999]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.47:from]; MLMMJ_DEST(0.00)[dev-commits-src-all,dev-commits-src-main]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.166.47:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On Fri, 15 Apr 2022 at 10:47, Ed Maste wrote: > > The branch main has been updated by emaste: > > URL: https://cgit.FreeBSD.org/src/commit/?id=fb5aabcb990bdc9a2359f56b714795da0d79416d > > commit fb5aabcb990bdc9a2359f56b714795da0d79416d > Author: Ed Maste > AuthorDate: 2022-04-14 00:50:17 +0000 > Commit: Ed Maste > 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.