WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 259
Bug in openssh SFTP
« on: December 26, 2021, 02: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: 10249
Re: Bug in openssh SFTP
« Reply #1 on: December 26, 2021, 03: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: 13882
Re: Bug in openssh SFTP
« Reply #2 on: December 27, 2021, 03:09:58 AM »
sshd_config.orig adjusted and openssh re-posted - thanks for reporting this.