‹ Guides

MyTerm on PCs and 2-in-1s (beta)

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.

The same MyTerm, on a bigger screen

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.

MyTerm in a window on a HarmonyOS PC: the hosts list on the left, and an SSH session on the right showing the server's name, uptime and a directory listing.
MyTerm in a window: hosts on the left, your session on the right.

Minimise it — your sessions keep running

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.

The HarmonyOS notification panel with a notification from MyTerm: A computing task is in progress. Closing this notification will end it.
While MyTerm is minimised, this notification 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.

It is a beta

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.

A network change still ends a plain SSH session

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.