Skip to content

Commit

Permalink
[sftp] Fix path to sftp-server, and set the config to overwrite. Fixe…
Browse files Browse the repository at this point in the history
…s JB#43004
  • Loading branch information
Andrew Branson committed Sep 20, 2018
1 parent b81036d commit 3989be7
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 3989be7

Please sign in to comment.