[X2go-Commits] python-x2go.git - build-main (branch) updated: 0.2.0.1

X2Go dev team git-admin at x2go.org
Wed May 30 00:27:40 CEST 2012


The branch, build-main has been updated
       via  b53cbefb9580288f34024e5ef6d1c60b215e6d9f (commit)
       via  0974e8057415cb5946c3206fe39632d0b667e7b2 (commit)
       via  ed3dd9ba498b4d12fb592ca8a715f1a8340ca149 (commit)
      from  9ab80b65fb6ffb9d1651786d7412e1a3a82f2d5c (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                 |    8 ++++++++
 x2go/backends/control/_stdout.py |    6 ++++++
 2 files changed, 14 insertions(+), 0 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index fa6e520..3bdd52d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-x2go (0.2.0.1-0~x2go1) unstable; urgency=low
+
+  * Bugfix release (0.2.0.1)
+    - Re-add lost line in control session's connect method that let
+      SSH host key checks fail.
+
+ -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 30 May 2012 00:25:59 +0200
+
 python-x2go (0.2.0.0-0~x2go1) unstable; urgency=low
 
   * New upstream version (0.2.0.0)
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index 169f82c..a5c2fd6 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -700,6 +700,12 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
                 gevent.sleep(.1)
                 port = self.sshproxy_session.get_local_proxy_port()
 
+        if not add_to_known_hosts and session_instance:
+            self.set_missing_host_key_policy(checkhosts.X2goInteractiveAddPolicy(caller=self, session_instance=session_instance))
+
+        if add_to_known_hosts:
+            self.set_missing_host_key_policy(paramiko.AutoAddPolicy())
+
         # disable pub/priv key authentication if forced
         if force_password_auth:
             key_filename = None


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

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 "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list