From owner-freebsd-current@freebsd.org Wed Sep 16 20:53:21 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F28803F1416 for ; Wed, 16 Sep 2020 20:53:21 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsC401lClz4Gnn; Wed, 16 Sep 2020 20:53:19 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 6d6b2d4c; Wed, 16 Sep 2020 20:53:16 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 1fafb6cc (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Wed, 16 Sep 2020 20:53:15 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: Deprecating ftpd in the FreeBSD base system? From: Michael Gmelin In-Reply-To: <6e1ca134-1fc7-d561-365a-b9349e55cc80@sentex.net> Date: Wed, 16 Sep 2020 22:53:14 +0200 Cc: sthaug@nethelp.no, emaste@freebsd.org, freebsd-current@freebsd.org Message-Id: <4D9317A6-4787-4419-BBB9-1BCA1E30C523@grem.de> References: <6e1ca134-1fc7-d561-365a-b9349e55cc80@sentex.net> To: mike tancsa X-Mailer: iPhone Mail (17H35) X-Rspamd-Queue-Id: 4BsC401lClz4Gnn X-Spamd-Bar: - X-Spamd-Result: default: False [-1.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_LONG(-1.02)[-1.017]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; NEURAL_HAM_SHORT(-0.59)[-0.585]; NEURAL_HAM_MEDIUM(-0.97)[-0.972]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2020 20:53:22 -0000 > On 16. Sep 2020, at 22:45, mike tancsa wrote: >=20 > =EF=BB=BFOn 9/16/2020 2:07 PM, sthaug@nethelp.no wrote: >> # override default of no subsystems >> -Subsystem sftp /usr/libexec/sftp-server >> +Subsystem sftp internal-sftp -l INFO >=20 > Hi, >=20 > What is the difference between these two ? Is it not all OpenSSH ? Yes, but one is an external binary, while internal doesn=E2=80=99t rely on t= hat. Which means that your chroot setup won=E2=80=99t require bin and lib di= rs. For most scenarios, internal is the way to go. The man page has more details. -m > ---Mike >=20 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=