Message ID | 20181001144213.6669-1-peter.mueller@link38.eu |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.ipfire.org [IPv6:2001:470:7183:25::1]) by web02.i.ipfire.org (Postfix) with ESMTP id 5F53B61A09 for <patchwork@web02.i.ipfire.org>; Mon, 1 Oct 2018 16:42:21 +0200 (CEST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id A41F41105543; Mon, 1 Oct 2018 15:42:20 +0100 (BST) Received: from mx-nbg.link38.eu (mx-nbg.link38.eu [IPv6:2a03:4000:6:432c:1f9e:48:ac3:199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx-nbg.link38.eu", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id F2B501105540 for <development@lists.ipfire.org>; Mon, 1 Oct 2018 15:42:16 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=link38.eu; s=201803; t=1538404934; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=Js3YlKZfNyDv9E/3cKJumC6HZPAbyDArhtjhH3ls3eA=; b=VzzX25I8J2Zdn2d/VPl2dqea1EVWmbiTwJxHxYjMHVDRXbh6umx4US/tSnhoay1pxYA9Gq Q/eP0/EjHC5zjc/HmbSmOKaItgYYUBUPbRZ1v934OEEKTS1xk803m2u4+0duk8Nb2cltjM t+RQtvodbY5AK3KMnDPlZPxDSyKO9AYNSH8t3tCicgGRLlK4otYpcp/cm84vIrcjryHqqB sMdfL9uCga/YPtNa3HtlykMd/d8mlTbGk2WD4mfJVrsuu0qq0HnRP64M3In2lA9zPUQjBB jPhGnPdahaDabIuxtF9hUSKnS6kLLUpdtUO9N028megokEWXgxuGDvIVDRAm/w== From: =?utf-8?q?Peter_M=C3=BCller?= <peter.mueller@link38.eu> To: development@lists.ipfire.org Subject: [PATCH] fix broken SFTP in OpenSSH server Date: Mon, 1 Oct 2018 16:42:13 +0200 Message-Id: <20181001144213.6669-1-peter.mueller@link38.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Authentication-Results: mail01.ipfire.org; dkim=pass header.d=link38.eu; dmarc=pass (policy=none) header.from=link38.eu; spf=pass smtp.mailfrom=peter.mueller@link38.eu X-Spamd-Result: default: False [-7.84 / 11.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[link38.eu]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a03:4000:6:432c:1f9e:48:ac3:199]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-1.50)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[link38.eu:+]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; MX_GOOD(-0.01)[cached: mx-nbg.link38.eu]; DMARC_POLICY_ALLOW(-0.25)[link38.eu,none]; RCVD_IN_DNSWL_MED(0.00)[9.9.1.0.3.c.a.0.8.4.0.0.e.9.f.1.c.2.3.4.6.0.0.0.0.0.0.4.3.0.a.2.list.dnswl.org : 127.0.6.2]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-3.78)[ip: (-9.91), ipnet: 2a03:4000::/32(-4.95), asn: 197540(-3.96), country: DE(-0.09)]; ASN(0.00)[asn:197540, ipnet:2a03:4000::/32, country:DE]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%] X-Spam-Status: No, score=-7.84 X-Rspamd-Server: mail01.i.ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <https://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Series |
fix broken SFTP in OpenSSH server
|
|
Commit Message
Peter Müller
Oct. 2, 2018, 12:42 a.m. UTC
Fixes #1887
Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Cc: Michael Tremer <michael.tremer@ipfire.org>
---
config/ssh/sshd_config | 3 +++
1 file changed, 3 insertions(+)
Comments
Hi, ..I just noticed...: On 01.10.2018 16:42, Peter Müller wrote: > Fixes #1887 > > Signed-off-by: Peter Müller <peter.mueller@link38.eu> > Cc: Michael Tremer <michael.tremer@ipfire.org> > --- > config/ssh/sshd_config | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/config/ssh/sshd_config b/config/ssh/sshd_config > index 60bb0a9e6..3a4254526 100644 > --- a/config/ssh/sshd_config > +++ b/config/ssh/sshd_config > @@ -75,4 +75,7 @@ ClientAliveInterval 10 > # close unresponsive SSH sessions which fail to answer keep-alive > ClientAliveCountMax 6 > > +# add support for SFTP > +Subsystem sftp /usr/lib/ssh/sftp-server ^^^ Shouldn't this be '/usr/lib/openssh/...'!? ^^^^^^^ > + > # EOF > Best, Matthias
Hi, On 01.10.2018 16:42, Peter Müller wrote: > Fixes #1887 Please make it: #11887 Best, Matthias > Signed-off-by: Peter Müller <peter.mueller@link38.eu> > Cc: Michael Tremer <michael.tremer@ipfire.org> > --- > config/ssh/sshd_config | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/config/ssh/sshd_config b/config/ssh/sshd_config > index 60bb0a9e6..3a4254526 100644 > --- a/config/ssh/sshd_config > +++ b/config/ssh/sshd_config > @@ -75,4 +75,7 @@ ClientAliveInterval 10 > # close unresponsive SSH sessions which fail to answer keep-alive > ClientAliveCountMax 6 > > +# add support for SFTP > +Subsystem sftp /usr/lib/ssh/sftp-server > + > # EOF >
Hello Matthias, thank for for mentioning this. The second version of the patch corrects all of these. (OpenSSH libraries seem to be located on different places... *sigh*) Best regards, Peter Müller > Hi, > > On 01.10.2018 16:42, Peter Müller wrote: >> Fixes #1887 > > Please make it: #11887 > > Best, > Matthias > >> Signed-off-by: Peter Müller <peter.mueller@link38.eu> >> Cc: Michael Tremer <michael.tremer@ipfire.org> >> --- >> config/ssh/sshd_config | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/config/ssh/sshd_config b/config/ssh/sshd_config >> index 60bb0a9e6..3a4254526 100644 >> --- a/config/ssh/sshd_config >> +++ b/config/ssh/sshd_config >> @@ -75,4 +75,7 @@ ClientAliveInterval 10 >> # close unresponsive SSH sessions which fail to answer keep-alive >> ClientAliveCountMax 6 >> >> +# add support for SFTP >> +Subsystem sftp /usr/lib/ssh/sftp-server >> + >> # EOF >> >
On 08.10.2018 19:32, Peter Müller wrote: > Hello Matthias, Hi Peter, > thank for for mentioning this. The second version of the > patch corrects all of these. > > (OpenSSH libraries seem to be located on different places... *sigh*) No problem - I saw this just by chance... ;-) Best, Matthias > Best regards, > Peter Müller > ...
diff --git a/config/ssh/sshd_config b/config/ssh/sshd_config index 60bb0a9e6..3a4254526 100644 --- a/config/ssh/sshd_config +++ b/config/ssh/sshd_config @@ -75,4 +75,7 @@ ClientAliveInterval 10 # close unresponsive SSH sessions which fail to answer keep-alive ClientAliveCountMax 6 +# add support for SFTP +Subsystem sftp /usr/lib/ssh/sftp-server + # EOF