X2Go dev team | 14 Jan 02:54 2013

python-x2go.git - master (branch) updated:

The branch, master has been updated
       via  5415362f73739312014478cb6b382369dbd3d5c7 (commit)
      from  4557a946e0a316c04d5f0c368c7137c2d15d8056 (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 5415362f73739312014478cb6b382369dbd3d5c7
Author: Mike Gabriel <mike.gabriel@...>
Date:   Mon Jan 14 02:55:49 2013 +0100

    make it possible to use the unique host key aliases code without SSH proxy, as well


Summary of changes:
 x2go/backends/control/_stdout.py |    3 +++
 1 file changed, 3 insertions(+)

The diff of changes is:
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index 844efe2..a8e8fca 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
 <at>  <at>  -730,6 +730,9  <at>  <at>  class X2GoControlSessionSTDOUT(paramiko.SSHClient):

         if unique_hostkey_aliases is not None:
             self.unique_hostkey_aliases = unique_hostkey_aliases
+            # prep the fake hostname with the real hostname, so we trigger the corresponding code path in 
+            # x2go.checkhosts and either of its missing host key policies
+            _fake_hostname = "[%s]:%s" % (hostname, port)

         if use_sshproxy and sshproxy_host and sshproxy_user: