Paramiko library doesn't appear to support ECDSA host keys
----------------------------------------------------------

                 Key: LIBCLOUD-181
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-181
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
    Affects Versions: 0.9.1
            Reporter: Neil Wilson


When using 'deploy_node' with recent versions of Ubuntu (Oneiric and Precise - 
which use ECDSA host keys) the deploy node will fail with the following trace:

DEBUG:paramiko.transport:starting thread (client mode): 0x2e4de10L
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_5.9p1)
DEBUG:paramiko.transport:kex algos:['ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 
'ecdh-sha2-nistp521', 'diffie-hellman-group-exchange-sha256', 
'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 
'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss', 
'ecdsa-sha2-nistp256'] client encrypt:['aes128-ctr', 'aes192-ctr', 
'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 
'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 
'[email protected]'] server encrypt:['aes128-ctr', 'aes192-ctr', 
'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 
'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 
'[email protected]'] client mac:['hmac-md5', 'hmac-sha1', 
'[email protected]', 'hmac-sha2-256', 'hmac-sha2-256-96', 'hmac-sha2-512', 
'hmac-sha2-512-96', 'hmac-ripemd160', '[email protected]', 
'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 
'[email protected]', 'hmac-sha2-256', 'hmac-sha2-256-96', 'hmac-sha2-512', 
'hmac-sha2-512-96', 'hmac-ripemd160', '[email protected]', 
'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', '[email protected]'] 
server compress:['none', '[email protected]'] client lang:[''] server lang:[''] 
kex follows?False
DEBUG:paramiko.transport:Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
DEBUG:paramiko.transport:using kex diffie-hellman-group1-sha1; server key type 
ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, 
remote hmac-sha1; compression: local none, remote none
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-rsa host key for 
2a02:1348:14c:1920:24:19ff:fef0:6482: 27c41c9515e9c1c3d68c823d4933173b
Traceback (most recent call last):
  File "test_deploy.py", line 32, in <module>
    node = conn.deploy_node(name='libcloud test deploy', image=required_image, 
size=required_size, deploy=msd, ssh_username=required_image.extra['username'], 
ssh_key=os.path.expanduser('~/.ssh/id_rsa'))
  File "/home/ubuntu/libcloud/libcloud/compute/base.py", line 607, in 
deploy_node
    raise DeploymentError(node, e)
libcloud.compute.types.DeploymentError: <DeploymentError: node=srv-xfdow, 
error=not a valid DSA private key file>



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to