fix broken SFTP in OpenSSH server

Message ID 20181001144213.6669-1-peter.mueller@link38.eu
State Superseded
Headers
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

Matthias Fischer Oct. 7, 2018, 10:30 p.m. UTC | #1
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
  
Matthias Fischer Oct. 7, 2018, 10:34 p.m. UTC | #2
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
>
  
Peter Müller Oct. 9, 2018, 4:32 a.m. UTC | #3
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
>>
>
  
Matthias Fischer Oct. 9, 2018, 4:49 a.m. UTC | #4
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
> ...
  

Patch

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