MyTerm now runs on HarmonyOS PCs and 2-in-1s, with the host list beside the terminal. Minimise it and your SSH sessions keep running until you come back.
Written
PC and 2-in-1 support arrives in 26.6.2, as a beta.
Install MyTerm from AppGallery on your HarmonyOS PC or 2-in-1, the same way you would on a phone. Your hosts list sits beside the terminal, so you can open a host and keep the rest in view. A keyboard, mouse and touchpad work the way you expect — see Keyboard and touchpad and Copy and paste in the terminal.
On a phone, leaving MyTerm for more than about a minute and a half can end an SSH session. On a PC or 2-in-1 it doesn't: minimise MyTerm, switch to other windows, and the session is still there when you come back, right where you left it. A long build, a log you are watching, a coding agent at work — they all carry on.
While MyTerm is minimised with a session open, a notification from MyTerm says a task is in progress. That is what keeps your sessions running.
Leave the notification alone. Closing it lets the system pause MyTerm, and a paused SSH session can drop. It goes away by itself when you open MyTerm again, and it only appears when there is a session to keep.
We have tested it, but not yet on every PC and 2-in-1. If a session drops while MyTerm is minimised, tell us from Settings › Account › Feedback & suggestions — the model and how long MyTerm was minimised help most.
Moving to a different Wi-Fi network, or the computer going to sleep, can still cut an SSH connection, as on any computer. For sessions that must survive that, use mosh, or run your work in tmux so you can pick it up again.