[X2Go-Commits] [x2goclient] 01/01: on Windows SSHD will only listen 127.0.0.1 to avoid FW warnings.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 11 16:24:07 CET 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit e1e71a7d328a7982effe04f7754b783a168b0757
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date:   Wed Jan 11 09:23:58 2023 -0600

    on Windows SSHD will only listen 127.0.0.1 to avoid FW warnings.
---
 debian/changelog     | 1 +
 src/onmainwindow.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a4e11fc..76419fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium
       client.
     - add "noresize" setting, which makes the proxy window not resizable
       for user.
+    - on Windows SSHD will only listen 127.0.0.1 to avoid FW warnings.
 
   [ Ryan Schmidt ]
   * New upstream version (4.1.2.3):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index af473de..46f6379 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -11104,6 +11104,7 @@ void ONMainWindow::generateEtcFiles()
          "AuthorizedKeysFile \"" << authKeyPath << "\"\n";
 #ifdef Q_OS_WIN
     out << "Subsystem shell "<< wapiShortFileName ( appDir) +"/bin/bash"+"\n"<<
+           "ListenAddress 127.0.0.1\n" <<
            "Subsystem sftp "<< wapiShortFileName ( appDir) +"/bin/sftp-server"+"\n";
 #else
     /*

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list