Skip to content

Commit

Permalink
[sshd] Don't enable sshd.socket by default. Contributes to JB#47558
Browse files Browse the repository at this point in the history
It should come from configuration or through (user issued) systemctl
enable instead.
  • Loading branch information
Tomin1 committed Oct 9, 2019
1 parent 03b96d2 commit e3c5501
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rpm/openssh.spec
Expand Up @@ -297,8 +297,6 @@ install -D -m 0644 %{SOURCE4} %{buildroot}/%{_lib}/systemd/system/sshd.service
install -D -m 0644 %{SOURCE5} %{buildroot}/%{_lib}/systemd/system/sshd@.service
install -D -m 0644 %{SOURCE6} %{buildroot}/%{_lib}/systemd/system/sshd.socket
install -D -m 0644 %{SOURCE7} %{buildroot}/%{_lib}/systemd/system/sshd-keys.service
mkdir -p %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants
ln -s ../sshd.socket %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants/sshd.socket
install -D -m 0755 %{SOURCE8} %{buildroot}/usr/sbin/sshd-hostkeys
mkdir -p %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants
ln -s ../sshd-keys.service %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants/sshd-keys.service
Expand Down Expand Up @@ -455,7 +453,6 @@ fi
/%{_lib}/systemd/system/sshd.socket
/%{_lib}/systemd/system/sshd@.service
/%{_lib}/systemd/system/sshd-keys.service
/%{_lib}/systemd/system/multi-user.target.wants/sshd.socket
/%{_lib}/systemd/system/multi-user.target.wants/sshd-keys.service
/usr/sbin/sshd-hostkeys

Expand Down

0 comments on commit e3c5501

Please sign in to comment.