Red Hat Bugzilla – Bug 841382
ipa sshpubkey option does not support comma separated list
Last modified: 2012-07-24 15:02:30 EDT
Description of problem:
The --sshpubkey option is documented as supporting comma separated lists for uploading SSH keys but does not. Only the first key appears to be used/validated with the ipa user-add, ipa user-mod, ipa host-add, ipa host-mod commands.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. <setup IPA server>
2. ipa user-add testuser --first=f --last=l --sshpubkey="$KEY1,$KEY2"
3. ipa user-show testuser
shows only $KEY1.
shows both $KEY1 and $KEY2
Should work for ipa user-mod also as well as host-add and host-mod for ssh host keys.