ssh-key or random password

Bug #1870225 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Wishlist
Unassigned

Bug Description

ssh-key or random password

I'd like to setup my user with an ssh key, if there is one in metadata and no password auth / locked account (cannot ssh with passord, cannot login on tty with password).

If no ssh key available, I want user with random password, and tty login available, and password based ssh available.

Revision history for this message
Scott Moser (smoser) wrote :

You'd have to explicitly tell cloud-init that you wanted it.
Lack of a user-data provided ssh key does not mean that there is no other way into the system. cloud-init can't take that simple lack of information to mean that it should enable password authentication and set a password on a user.

Paride Legovini (paride)
Changed in cloud-init:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
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.