Public bug reported:

Silly error, can't believe it wasn't found or reported earlier.

SFTP wasn't working, auth.log showed "cannot stat /usr/libexec/openssh
/sftp-server: No such file or directory"

I checked /etc/ssh/sshd_config and /usr/share/doc/openssh-
server/examples/sshd_config, which is apparently the source file. Both
had the "libexec" path to the file.

I ran "locate openssh/sftp-server" and got "/usr/lib/openssh/sftp-
server"

Corrected the path in the config file & all was well.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openssh-server 1:6.6p1-2ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-46.77-generic 3.13.11-ckt15
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)

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1437005

Title:
  Default sshd_config file has bad path to sftp-server. Should be
  /usr/lib/openssh/sftp-server, not /usr/libexec/openssh/sftp-server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1437005/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to