setup --ssh-keygen can fail when keys already exist

Bug #1329650 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uci-vms
Fix Released
High
Vincent Ladeuil

Bug Description

$ uci-vms setup --ssh-keygen --download utopic-pristine
ERROR:
  command: ssh-keygen -f /home/vila/vms/utopic-pristine/ecdsa -N -t ecdsa -C utopic-pristine
  retcode: 1
  output: Generating public/private ecdsa key pair.
/home/vila/vms/utopic-pristine/ecdsa already exists.
Overwrite (y/n)?
  error:

--ssh-keygen should delete the keys if/when they exist

Vincent Ladeuil (vila)
Changed in uci-vms:
status: Triaged → Fix Released
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.