Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Rabie on December 26, 2021, 05:48:56 PM

Title: Bug in openssh SFTP
Post by: Rabie on December 26, 2021, 05:48:56 PM
hi,
i just had the problem with the sftp login on TinyCore v12.86x
from the file /usr/local/etc/ssh/sshd_config:
Code: [Select]
# override default of no subsystems
Subsystem      sftp    /usr/libexec/sftp-server

with that line sftp login didn't work, cause there isn't a directory named libexec

when adding the following line and reboot, it does work

Code: [Select]
# override default of no subsystems
#Subsystem      sftp    /usr/libexec/sftp-server
Subsystem       sftp    /usr/local/lib/openssh/sftp-server

i don't know if that is a bug or i am missing something new
Title: Re: Bug in openssh SFTP
Post by: Rich on December 26, 2021, 06:20:27 PM
Hi Rabie
The TC10 version has:
Code: [Select]
Subsystem       sftp    /usr/local/lib/openssh/sftp-server
Probably got changed in the source package and was not noticed. Wait for Juanito to weigh in.
Title: Re: Bug in openssh SFTP
Post by: Juanito on December 27, 2021, 06:09:58 AM
sshd_config.orig adjusted and openssh re-posted - thanks for reporting this.