From owner-freebsd-current@freebsd.org Wed Sep 16 20:59:42 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 19F5C3F164B for ; Wed, 16 Sep 2020 20:59:42 +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 4BsCCJ4n2Gz4HFP; Wed, 16 Sep 2020 20:59:40 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 1428b562; Wed, 16 Sep 2020 20:59:38 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id e59059ed (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Wed, 16 Sep 2020 20:59:38 +0000 (UTC) Mime-Version: 1.0 (1.0) Subject: Re: Deprecating ftpd in the FreeBSD base system? From: Michael Gmelin In-Reply-To: <4D9317A6-4787-4419-BBB9-1BCA1E30C523@grem.de> Date: Wed, 16 Sep 2020 22:59:37 +0200 Cc: sthaug@nethelp.no, emaste@freebsd.org, freebsd-current@freebsd.org Message-Id: <8319E4EF-3C9E-4E4B-93A6-5A7DE823A59E@grem.de> References: <4D9317A6-4787-4419-BBB9-1BCA1E30C523@grem.de> To: mike tancsa X-Mailer: iPhone Mail (17H35) X-Rspamd-Queue-Id: 4BsCCJ4n2Gz4HFP X-Spamd-Bar: - X-Spamd-Result: default: False [-1.66 / 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)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_LONG(-1.02)[-1.018]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; NEURAL_HAM_SHORT(-0.67)[-0.675]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; 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] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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:59:42 -0000 > On 16. Sep 2020, at 22:53, Michael Gmelin wrote: >=20 > =EF=BB=BF >=20 >>> 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 ? >=20 > Yes, but one is an external binary, while internal doesn=E2=80=99t rely on= that. Which means that your chroot setup won=E2=80=99t require bin and lib d= irs. For most scenarios, internal is the way to go. >=20 > The man page has more details. >=20 > -m p.s. this is a good write-up: https://serverfault.com/questions/660160/openssh-difference-between-internal= -sftp-and-sftp-server >=20 >=20 >> ---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= " >=20