The known_host defined type is responsible for the management of entries in the known_host file in Undine, used by the root user during provisioning (via sudo).
Undine provides a means of authenticating via SSH using a combination of agent forwarding to use your host environment‘s SSH keys without copying them into the guest VM (enabled in Undine by default) and manipulating the known_hosts file on the guest VM to facilitate host authentication. To find a known_hosts entry on your host system, simply use `ssh-keygen -H -F git.example.com` to display the corresponding key for a given hostname.
Create a known_host entry for git.example.com
undine_ssh::known_host { 'git.example.com': key => '|1|nddsvUkIUHNdM31TTSc+sPT57yg=|nQqEyJJthk/DTVaRmJWtxGRVCis= ...' }
The known_host defined type is responsible for the management of entries in the known_host file in Undine, used by the root user during provisioning (via sudo).
Undine provides a means of authenticating via SSH using a combination of agent forwarding to use your host environment‘s SSH keys without copying them into the guest VM (enabled in Undine by default) and manipulating the known_hosts file on the guest VM to facilitate host authentication. To find a known_hosts entry on your host system, simply use `ssh-keygen -H -F git.example.com` to display the corresponding key for a given hostname.
Create a known_host entry for git.example.com
undine_ssh::known_host { 'git.example.com': key => '|1|nddsvUkIUHNdM31TTSc+sPT57yg=|nQqEyJJthk/DTVaRmJWtxGRVCis= ...' }