[feature] Allow specify file for add-ssh-key command

Bug #1959372 reported by Erik Lönroth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Unassigned

Bug Description

Currently, adding a ssh public key to a juju model is very awkward and inexperienced linux users often finds this a difficult and cumbersome activity.

    juju add-ssh-key "$(cat ~/.ssh/id_rsa.pub)"

or
   juju add-ssh-key "ldkfljghkdjfhglkdfjhglskdjfghlskdfjghlskdfjghslkdfjghsldkjfhgsldkjfghsdfg"

... this is not user friendly.

I propose a simple fix to this by allowing for a single file reference instead:

   juju add-ssh-key ./mysskey.pub

This is a trivial fix to make life alot easier. Especially to non experts.

Changed in juju:
importance: Undecided → Wishlist
status: New → Triaged
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.