On ti, 16 tammi 2018, Maciej Drobniuch via FreeIPA-users wrote:
Hi all.
Is there any way to get the user's ssh key (not fingerprint) via console?
Maybe LDAP?
Or only via a https request ?
Do you mean a public ssh key associated with a user
with the help of
'ipa user-mod foo --sshpubkey=...'?
An easiest way to read the keys would be using 'sss_ssh_authorized_keys' utility:
$ sss_ssh_authorizedkeys admin
ssh-rsa AAAAB....
--
/ Alexander Bokovoy