Repository: libcloud
Updated Branches:
  refs/heads/trunk fb510c40f -> 2b3beeff2


Improve error message.


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

Branch: refs/heads/trunk
Commit: 2b3beeff21ffca1c97fc8807838d0a4b1d7518da
Parents: fb510c4
Author: Tomaz Muraus <[email protected]>
Authored: Sun Jan 24 20:32:18 2016 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Sun Jan 24 20:32:18 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2b3beeff/libcloud/compute/ssh.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/ssh.py b/libcloud/compute/ssh.py
index e12e3ca..3143d5d 100644
--- a/libcloud/compute/ssh.py
+++ b/libcloud/compute/ssh.py
@@ -452,7 +452,8 @@ class ParamikoSSHClient(BaseSSHClient):
             else:
                 return key
 
-        msg = 'Invalid or unsupported key type'
+        msg = ('Invalid or unsupported key type (only RSA, DSS and ECDSA keys'
+               ' are supported)')
         raise paramiko.ssh_exception.SSHException(msg)
 
 

Reply via email to