SSH is a protocol for creating encrypted network connections on insecure networks, such as the Internet. It's a secure replacement for Telnet. When you log in to an SSH server, all credentials are transmitted securely, including your password and private SSH key.
SSH works over TCP, which means that if the network connection is interrupted, the session may be lost – that's where Mosh comes in handy.
Below is a comprehensive list of SSH capabilities that are currently supported and that will be added soon.
Key exchange methods
Host key types
- rsa-sha2-256 sign-only
- rsa-sha2-512 sign-only
- Public key
- Two-Factor Authentication
* As of now, except those keys encrypted with the GCM algorithms
- DSA in PEM format*
- ECDSA (curves 256, 384 521)
*DSA keys that are in the OpenSSH format are not supported.
Please, submit a feature request, if you'd like DSA keys in the OpenSSH format to be supported.
- SOCKS4, supported by the mobile apps only
Mosh (Mobile Shell)
Mosh is a companion protocol to SSH that maintains sessions when TCP is interrupted. It employs a parallel UDP session which can keep the session alive if TCP breaks. That also enables Mosh to maintain its own terminal buffer that intelligently echoes your input, even if the server is slow or the network lags. No more waiting patiently on slow connections to see what you typed.
The enhancements provided by Mosh are really important to reliable mobile connectivity. If your device changes networks or loses connection, Mosh can keep your session alive until your connection is re-established.
The Mosh service is distinct from SSH, and must be installed and configured separately on your host system. Once the service is up and running, you’re free to roam with Termius — just enable Mosh in your host entry, and connect.
Termius uses its own library for Mosh compatibility.
Termius is compatible with Mosh 1.3.0 and newer versions.