Skip to content

SSHPeaches 0.11.6

Choose a tag to compare

@ZenulAbidin ZenulAbidin released this 13 Oct 08:09

SSHPeaches 0.11.6 (version code 1106).

Download: SSHPeaches-0.11.6.apk is signed with the developer upload key, not Google Play's app-signing key, so it can't update a copy installed from Google Play (uninstall that first, or update through Play).

APK SHA-256: 4b5762c8d5e903d13a6855bf78b78a0c0c8116752d0835b49e29e4b0c3f81781

  • Mosh fixes, tested end to end against a real mosh-server:
    • Hosts saved by name work with Mosh (mosh-client only takes an IP address; it failed with "Bad IP address").
    • Typing exit ends the session instead of showing a dead screen marked "reconnected".
    • Switching networks (Wi-Fi to mobile data, a VPN) no longer closes Mosh sessions; Mosh roams by itself.
    • Closing a session stops mosh-server and the remote shell; they used to keep running on the server forever.
    • If the Mosh client is killed, a new mosh-server is started over SSH. Before, the restarted client reused the old session key and froze.
    • A Mosh client that exits during startup is reported instead of leaving a dead session marked ready; a missing mosh-server is reported at once instead of after 15 seconds; a possible crash from reading the screen off the main thread is gone; the default server command asks for 256 colours.
  • A session left open in the background no longer stops taking input until it is killed. A connection that died silently while the phone slept (no network change) was never noticed: keepalives now expect a reply, so a dead connection reconnects within about a minute, and on returning to the app each open session is checked and reconnected within seconds if the server doesn't answer. Input that stalls for 10 seconds now reconnects too, instead of trying to close the shell over the dead link.
  • The connecting screen streams a fuller log, like JuiceSSH: each SSH packet of the handshake as a hexdump. Packets that carry your password, keyboard-interactive answers, commands or terminal data show only their type and size, and the dumps are left out of Send report.
  • Built-in keyboard: a single tap on the terminal shows or hides only the top bar again; it no longer opens the keyboard as well. Double-tap or the keyboard key opens it.

Fixes from a fuzz-testing sweep:

  • Terminal: output a server (or a file you cat) can send no longer freezes or crashes the app. Huge scroll and repeat counts (CSI 9999 S, CSI 9999 b) with side margins took seconds to minutes on the main thread; OSC 104 colour resets with a bad number, attribute changes in origin mode and a wide character right of the margin threw (over SSH that dropped the rest of the output, over Mosh it crashed). Long-pressing a word in one very long wrapped line no longer stalls, and scrolling inside side margins over wide (CJK) text is fast again.
  • Find no longer crashes on Turkish İ in the terminal output.
  • Code editor: a line the highlighter can't parse (an emoji right before a quote, an unusual heredoc) is shown without colors instead of ending highlighting for the rest of the file, and a very long run of <<< no longer crashes the app.
  • Deleting an emoji with keyboards that delete text they already typed now removes just the emoji, not the character before it too.
  • Hardware keyboards: AltGr characters (@ [ { ~ on German and other layouts) no longer get an ESC in front, dead keys (´ ^ `) compose instead of disappearing, and Ctrl+@ / Ctrl+? send NUL and DEL like other terminals.
  • Hosts and port forwards accept IPv6 addresses (::1, fe80::1) and single-word host names (raspberrypi, db).
  • OpenSSH config import works out options the way ssh does: the first value wins, options from several matching Host blocks (including wildcards like Host *.corp) are combined, quotes are removed (User "bob"), and an invalid Port is reported instead of silently becoming 22.
  • Importing a malformed private key no longer crashes the identity editor, and huge or malformed key files no longer freeze it.
  • Scanning a host QR no longer overwrites an existing host with the same id, rejects invalid ports, and keeps "attach to tmux"; identity QRs without a fingerprint are rejected.
  • SFTP downloads fail with a clear error instead of looping forever on empty server replies or saving a zero-padded file when the file ends early.
  • Recursive delete refuses a server listing that would point outside the folder being deleted.
  • Mosh startup no longer hangs past its timeout on a prompt without a newline (such as a sudo password prompt).
  • "Send report" no longer freezes on long server messages, and reports scrub more addresses and paths.
  • Smaller fixes: the system info panel stays fast on odd command output and no longer shows overflowed sizes; LAN transfer has an overall deadline and can always be cancelled; very large transfer files are refused; YAML, XML and Markdown files now get syntax highlighting (their grammars failed to load; YAML uses the TextMate YAML grammar now); OS version labels with a colon survive export; emoji in short key labels are no longer cut in half; tags and info commands with a comma in them survive import.