The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #2192

ssh_authorized_key barfs on missing comment in existing keyfile

Added by Christoph H about 7 years ago. Updated over 4 years ago.

Status:AcceptedStart date:04/24/2009
Priority:NormalDue date:
Assignee:Francois Deppierraz% Done:


Target version:-
Affected Puppet version:0.24.8 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


having an existing authorized_keys file where keys have no comments will throw an error

Could not prefetch ssh_authorized_key provider ‘parsed’: Could not parse line “ssh-rsa HEXKEY ”

and the offending line will be deleted.

Related issues

Related to Puppet - Bug #1531: ssh_authorized_keys should not use the key 'comment' as a... Accepted 08/25/2008


#1 Updated by Francois Deppierraz about 7 years ago

  • Status changed from Unreviewed to Accepted
  • Assignee set to Francois Deppierraz

#2 Updated by James Turnbull almost 7 years ago

  • Target version set to 4

#3 Updated by Francois Deppierraz about 6 years ago

It should be possible to print a more appropriate error message for that specific case.

But I don’t see any way to avoid deleting a key with an empty comment, because a Puppet resource cannot have an empty identifier.

#4 Updated by James Turnbull over 4 years ago

  • Target version deleted (4)

Also available in: Atom PDF