[X2go-Commits] x2gobroker.git - master (branch) updated: 0.0.0.4-11-g8716543

X2Go dev team git-admin at x2go.org
Wed Feb 27 22:34:41 CET 2013


The branch, master has been updated
       via  871654331405e3dc1a4843a1238a494c2a5dbe48 (commit)
      from  085e68d5cc5cdb474e657628e4a3ee522c9c0597 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 871654331405e3dc1a4843a1238a494c2a5dbe48
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Feb 27 22:34:36 2013 +0100

    Properly set the Paramiko/SSH missing hostkey policy.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog    |    1 +
 x2gobroker/agent.py |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 616a671..0473533 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ x2gobroker (0.0.0.5-0~x2go1) UNRELEASED; urgency=low
     - Add variable X2GOBROKER_AGENT_USER, so that remote broker
       agents can theoretically run under another (i.e. != x2gobroker)
       user ID.
+    - Properly set the Paramiko/SSH missing hostkey policy.
   * /debian/control:
     + Add dependency to python-x2gobroker: python-paramiko.
   * /debian/x2gobroker-daemon.default:
diff --git a/x2gobroker/agent.py b/x2gobroker/agent.py
index db7fcbc..13dc2af 100644
--- a/x2gobroker/agent.py
+++ b/x2gobroker/agent.py
@@ -83,7 +83,7 @@ def call_remote_broker_agent(username, mode, remote_agent):
     try:
         client = paramiko.SSHClient()
         client.load_system_host_keys()
-        client.set_missing_host_key_policy(paramiko.WarningPolicy)
+        client.set_missing_host_key_policy(paramiko.WarningPolicy())
         client.connect(remote_hostname, remote_port, remote_username, look_for_keys=True, allow_agent=True)
 
         result = []


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list