Linux kvm exit from a virsh console command

Originally published at: https://www.cyberciti.biz/faq/howto-exit-virsh-console-connection-on-centos-ubuntu-debian-linux/

I installed KVM on Ubuntu server as described here. However, I am unable to get out of a ‘virsh console domain’ command. How can I exit from a “virsh console” connection over ssh based session? How do I exit a “virsh console” connection command on Linux KVM session?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki