I have had good experiences for ssh responsivines by changing the sshd clientalive -parameters. in /etc/ssh/sshd_config i uncommented following parameters, and changed interval to 15 secs. ClientAliveInterval 15 ClientAliveCountMax 3 (This helps only when ssh opened to the phone, but it seems to keep e.g. all qml timers running)