You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2014/01/09 00:26:31 UTC

[5/6] git commit: Specify True for look_for_keys and allow_agent option.

Specify True for look_for_keys and allow_agent option.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/195efc9d
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/195efc9d
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/195efc9d

Branch: refs/heads/trunk
Commit: 195efc9dd01dbabca7479a8dcf5eafc44f0d96b8
Parents: 2fca84c
Author: Tomaz Muraus <to...@apache.org>
Authored: Wed Jan 8 23:56:24 2014 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Jan 9 00:06:19 2014 +0100

----------------------------------------------------------------------
 libcloud/compute/ssh.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/195efc9d/libcloud/compute/ssh.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/ssh.py b/libcloud/compute/ssh.py
index c4dec9b..baf5973 100644
--- a/libcloud/compute/ssh.py
+++ b/libcloud/compute/ssh.py
@@ -187,11 +187,12 @@ class ParamikoSSHClient(BaseSSHClient):
         conninfo = {'hostname': self.hostname,
                     'port': self.port,
                     'username': self.username,
-                    'allow_agent': False,
-                    'look_for_keys': False}
+                    'allow_agent': True,
+                    'look_for_keys': True}
 
         if self.password:
             conninfo['password'] = self.password
+
         if self.key:
             conninfo['key_filename'] = self.key