From 613c9852100b8859b9427f6f8b5d5670ee36e6c4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:15:55 +0100 Subject: [PATCH] don't disable AllowTcpForwarding anymore, leave default (=yes, for x2goserver) [release 7.2p2-2mamba;Fri Apr 08 2016] --- openssh.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/openssh.spec b/openssh.spec index 9d6eb0f..5f7161f 100644 --- a/openssh.spec +++ b/openssh.spec @@ -7,7 +7,7 @@ Name: openssh Version: 7.2p2 -Release: 1mamba +Release: 2mamba Summary: OpenSSH free Secure Shell (SSH) implementation Group: Network/Security Vendor: openmamba @@ -175,8 +175,7 @@ rm -f %{buildroot}%{_datadir}/Ssh.bin sed -i 's/#Protocol 2,1/Protocol 2/ s/#\(UsePAM\).*/\1 yes/ s/#X11Forwarding no/X11Forwarding yes/ - s/#\(UsePrivilegeSeparation yes\)/\1/ - s/#\(AllowTcpForwarding\) .*/\1 no/' \ + s/#\(UsePrivilegeSeparation yes\)/\1/' \ %{buildroot}%{_sysconfdir}/ssh/sshd_config echo "AcceptEnv LANG LC_*" >> %{buildroot}%{_sysconfdir}/ssh/sshd_config @@ -213,8 +212,7 @@ if [ $1 -eq 1 ]; then fi if [ $1 -gt 1 ]; then # update - sed -i 's/#\(AllowTcpForwarding\) .*/\1 no/ - s/#X11Forwarding no/X11Forwarding yes/' \ + sed -i 's/#X11Forwarding no/X11Forwarding yes/' \ %{_sysconfdir}/ssh/sshd_config grep "AcceptEnv" %{_sysconfdir}/ssh/sshd_config >/dev/null || \ echo " AcceptEnv LANG LC_*" >> %{_sysconfdir}/ssh/sshd_config @@ -292,6 +290,9 @@ exit 0 %{_libexecdir}/openssh/ssh-askpass %changelog +* Fri Apr 08 2016 Silvan Calarco 7.2p2-2mamba +- don't disable AllowTcpForwarding anymore, leave default (=yes, for x2goserver) + * Thu Mar 10 2016 Automatic Build System 7.2p2-1mamba - automatic version update by autodist