WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Bug in openssh SFTP  (Read 1910 times)

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Bug in openssh SFTP
« 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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: Bug in openssh SFTP
« Reply #1 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Bug in openssh SFTP
« Reply #2 on: December 27, 2021, 06:09:58 AM »
sshd_config.orig adjusted and openssh re-posted - thanks for reporting this.