What happens in the background
iOS may suspend network connections shortly after an app moves to the background. Rosie SSH does not use prohibited background keep-alive modes.
If the SSH connection drops, Rosie SSH can reconnect to the server, but the remote shell process may already be gone unless you used a server-side session tool.
Use tmux
tmux keeps your shell session running on the server.
Start a new session:
tmux new -s work
Run your long command inside tmux. If Rosie SSH disconnects, reconnect and attach again:
tmux attach -t work
Detach without stopping the remote work:
Ctrl-b d
Use mosh when available
mosh can help on mobile networks because it is designed for roaming and intermittent connectivity. It must be installed and configured on the server.
Use tmux for long-running work even when you use mosh.
Reconnect from Rosie SSH
In a terminal session, open the terminal menu and choose Reconnect if the connection looks stale. If the remote process ended, reconnecting starts a fresh shell.
Good habits for long commands
- Start
tmuxbefore package upgrades, compiles, backups, or server maintenance. - Avoid leaving important work in a plain shell before locking the device.
- Save remote files before switching apps for a long time.
- Expect mobile networks to change between Wi-Fi and cellular.