Skip to content

Commit

Permalink
Merge branch 'jb43004' into 'master'
Browse files Browse the repository at this point in the history
[sftp] Fix path to sftp-server, and set the config to overwrite. Fixes JB#43004

See merge request mer-core/openssh!6
  • Loading branch information
Andrew Branson committed Sep 20, 2018
2 parents b81036d + 3989be7 commit fe9c0e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpm/openssh.spec
Expand Up @@ -435,7 +435,7 @@ fi
%attr(0644,root,root) %{_mandir}/man5/moduli.5*
%attr(0644,root,root) %{_mandir}/man8/sshd.8*
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config
%attr(0600,root,root) %config %{_sysconfdir}/ssh/sshd_config
%attr(0644,root,root) %config(noreplace) /etc/pam.d/sshd
/%{_lib}/systemd/system/sshd.service
/%{_lib}/systemd/system/sshd.socket
Expand Down
2 changes: 1 addition & 1 deletion rpm/sshd_config
Expand Up @@ -127,7 +127,7 @@ UsePrivilegeSeparation sandbox # Default for new installations.
#Banner none

# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
Subsystem sftp /usr/libexec/openssh/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
Expand Down

0 comments on commit fe9c0e3

Please sign in to comment.