This is an old revision of the document!
To set up the KVM Provider some additional steps are required to be able to access KVM remotely via SSH.
Change values in /etc/ssh/sshd_config
on the KVM host:
AllowTcpForwarding no
to AllowTcpForwarding yes
terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" version = "0.7.1" } } } provider "libvirt" { uri = "qemu+ssh://root@192.168.178.114/system?sshauth=privkey" }