SSH keys should not be generated automatically - or at least kept for QtCreator use only

Bug #1237923 reported by Michał Sawicz
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Invalid
Medium
Unassigned
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have 3 Ubuntu Touch devices that I work with... each of them gets its own SSH key as soon as I start QtCreator

First of all, I'm not sure if auto-generating SSH keys and sending them around is a good idea in itself. Even if they are - they should be stored somewhere else than ~/.ssh/ and referenced directly by QtCreator when it uses ssh to access the devices.

Biggest issue for me is that with my own two SSH keys that I use daily, another three means I've 5 in total, and that makes it impossible to log in to certain SSH servers due to "Too many authentication failures", 'cause SSH tries all of the keys in sequence, and doesn't get to trying the password.

Related branches

Revision history for this message
Michael Zanetti (mzanetti) wrote :

I'm heavily affected by this too. Have to delete ubuntudevice keys at least once a week or it'll lock me out from all my servers.

In combination with an issue in ssh-agent caching those keys, I couldn't git clone from gitorious, log in my XBMC box or my webserver any more even after deleting them from disk today.

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Changed in ubuntu-ui-toolkit:
importance: Undecided → Medium
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Hey, do you think we could try to get this fixed? It locks me out of all my servers/devices every other day (Every second time I flash a new phone image and plug it to the laptop). It's really frustrating.

For other platforms/devices this is done in the device setup page by a one time user interaction, and also the ssh key is reused across multiple devices/reflashes. Wouldn't that be possible for us too?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 3.0.1+14.10.20140611.2-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.0.1+14.10.20140611.2-0ubuntu1) utopic; urgency=low

  [ Zoltán Balogh ]
  * Add 14.10 target support (LP: #1328436) (LP: #1328436)
  * Use unknown as developed ID when there is no LP ID available (LP:
    #1324555) (LP: #1324555)

  [ Benjamin Zeller ]
  * Use only one SSH key for all ubuntu devices Move the storage
    location of the SSH key to ~/.config/ubuntu-sdk Fixes LP:#1237923
    (LP: #1237923)

qtcreator-plugin-ubuntu (3.0.1+14.10.20140609-0ubuntu2) utopic; urgency=medium

  * test
 -- Ubuntu daily release <email address hidden> Wed, 11 Jun 2014 13:50:36 +0000

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Fix Released
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.