Red Hat Bugzilla – Bug 1467761
[RFE] Script should help create ssh key and copy it to the remote libvirt host
Last modified: 2018-02-14 17:44:36 EST
for remote libvirt mode, virt-who only support to run by ssh key, don't support by username and password,
so I suggest the script helps to create the ssh key and then upload it to the remote libvirt by auto.
And it could be even integrated with SSH keys uploaded to user. The problem I see is that the script would need to ssh to the host which would make it interactive. Maybe that could be a different script or hammer command to run. It should probably also be able to do ssh-keygen if user decides to generate a new key.
Created redmine issue http://projects.theforeman.org/issues/20261 from this bug
Or the installation could be done through REX once it supports password based authentication.