[Bug 892554] [NEW] SSH keys summary does not report ECDSA key

Kees Cook kees at ubuntu.com
Sat Nov 19 18:09:44 UTC 2011


Public bug reported:

The final report of SSH key fingerprints does not include ECDSA:

$ ec2-get-console-output --region us-west-2 i-107ee921
...
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
f8:bf:48:3a:a8:93:e1:1e:52:6d:08:ff:0a:a2:2d:eb root at ip-10-252-13-148
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|                 |
|.                |
| o o   .         |
|  + o . S        |
| ..o   .         |
|+..o..  o        |
|+++o. .o o       |
|+E=o  ... o.     |
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
1d:a6:d9:89:6f:7b:0a:a1:45:78:d4:ee:a8:21:c0:5c root at ip-10-252-13-148
The key's randomart image is:
+--[ DSA 1024]----+
|        ..       |
|    E  o  .      |
| o .  . o.o      |
|  +    o B.o     |
|   .    So+      |
|    . .o.o.      |
|     ..o. o      |
|      .  o ..    |
|          oo     |
+-----------------+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
4c:9a:68:f2:33:50:f1:6f:81:bf:e3:f3:05:9d:23:70 root at ip-10-252-13-148
The key's randomart image is:
+--[ECDSA  256]---+
|    .            |
|     o .         |
|    . o + E      |
|   . . B + . .   |
|  o o o S o +    |
|   =   . . o .   |
|    +   o   .    |
|     o ... .     |
|        .o.      |
+-----------------+
ec2:
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 2048 f8:bf:48:3a:a8:93:e1:1e:52:6d:08:ff:0a:a2:2d:eb /etc/ssh/ssh_host_rsa_key.pub (RSA)
ec2: 1024 1d:a6:d9:89:6f:7b:0a:a1:45:78:d4:ee:a8:21:c0:5c /etc/ssh/ssh_host_dsa_key.pub (DSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################

Additionally, it would be better to report the entire public key portion
so that keys could be programmatically included by the users of the
instance.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/892554

Title:
  SSH keys summary does not report ECDSA key

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/892554/+subscriptions



More information about the Ubuntu-server-bugs mailing list