#2935 ipa sshpubkey option does not support comma separated list
Closed: Fixed None Opened 11 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=841382 (Red Hat Enterprise Linux 6)

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):
2.2.0-16

How reproducible:
always

Steps to Reproduce:
1. <setup IPA server>
2. ipa user-add testuser --first=f --last=l --sshpubkey="$KEY1,$KEY2"
3. ipa user-show testuser

Actual results:
shows only $KEY1.

Expected results:
shows both $KEY1 and $KEY2

Additional info:
Should work for ipa user-mod also as well as host-add and host-mod for ssh host
keys.

Moving closed RC1 tickets to Beta 3.

Metadata Update from @dpal:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 3.0 Beta 3

7 years ago

Login to comment on this ticket.

Metadata