← Back to team overview

touch-packages team mailing list archive

[Bug 1437005] Re: Default sshd_config file has bad path to sftp-server. Should be /usr/lib/openssh/sftp-server, not /usr/libexec/openssh/sftp-server

 

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?

** Changed in: openssh (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

Status in openssh package in Ubuntu:
  Incomplete

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/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)

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


Follow ups

References