Comment 0 for bug 1604128

Revision history for this message
Lee Trager (ltrager) wrote : [2.0RC3] Unable to add a public SSH Key

When I add a public SSH key over the API or in the UI I get the following error

$ maas maas sshkeys create key="$(ssh-add -L | grep <email address hidden>)"
{"key": ["Invalid SSH public key: 'PosixPath' object has no attribute 'path'"]}

This was introduced in 5118 in the validation code of SSH keys.