How do I disconnect from a serial terminal?

spergberger

New Member
Jun 26, 2024
27
0
1
Hello people.

I managed to connect to my Ubuntu guest from a root shell on the pve host. Login works. Great!

Now that I have logged out, I can't disconnect from the serial port.
On a KVM/Qemu Linux host the disconnect keystroke combination (for 'virsh console') is Ctrl + ]

What is it for qm terminal? Thanks.
 
Last edited:
Horribly written documentation.
"Remember the qm terminal uses Ctrl-O as shortcut, so saving a file from nano with Ctrl-O will log you out instead"
nano has absolutely nothing to do with logging out of a serial console.
 
Oh that's odd. Now I'm noticing that when I start the terminal it prints, "press Ctrl+O to exit"
Either I never noticed noticed this before or some update I installed caused it. Probably the former.