Example sshd_config file has bad path to sftp-server. Should be /usr/lib/openssh/sftp-server, not /usr/libexec/openssh/sftp-server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Debian) |
Fix Released
|
Unknown
|
|||
openssh (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Silly error, can't believe it wasn't found or reported earlier.
SFTP wasn't working, auth.log showed "cannot stat /usr/libexec/
I checked /etc/ssh/
I ran "locate openssh/
Corrected the path in the config file & all was well.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openssh-server 1:6.6p1-2ubuntu2
ProcVersionSign
Uname: Linux 3.13.0-46-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 26 11:40:13 2015
InstallationDate: Installed on 2014-07-24 (244 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in openssh (Debian): | |
status: | Unknown → New |
Changed in openssh (Debian): | |
status: | New → Fix Committed |
Changed in openssh (Debian): | |
status: | Fix Committed → Fix Released |
This is peculiar, because I don't believe we've ever written it out with the upstream libexec path. Yes, the examples file shows it as libexec, but we've written out "Subsystem sftp /usr/lib/ openssh/ sftp-server" for new installations since 2005.
Is it possible that you had hand-edited your sshd_config at some point?