This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gobroker. from cef25ef Load X2GOBROKER_DAEMON_USER's known_hosts key file before doing remote agent calls. new 89856dd only load user host keys if the file exists The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: x2gobroker/agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker. commit 89856dd3fa46f5fe60afd6a30b397a9bcba0b29c Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Thu Mar 20 09:13:13 2014 +0100 only load user host keys if the file exists --- x2gobroker/agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x2gobroker/agent.py b/x2gobroker/agent.py index a95a76f..0e035fa 100644 --- a/x2gobroker/agent.py +++ b/x2gobroker/agent.py @@ -155,7 +155,8 @@ def call_remote_broker_agent(username, mode, cmdline_args=[], remote_agent=None) try: client = paramiko.SSHClient() client.load_system_host_keys() - client.load_host_keys(os.expanduser("~/.ssh/known_hosts")) + if os.path.exists(os.expanduser("~/.ssh/known_hosts")): + client.load_host_keys(os.expanduser("~/.ssh/known_hosts")) client.set_missing_host_key_policy(remote_agent['host_key_policy']) client.connect(remote_hostname, remote_port, remote_username, look_for_keys=True, allow_agent=True) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git