docs/getting-started.md

Getting started

EzAgent Android connects to an existing EzAgent installation over SSH and uses its sessions, Inbox and chat through native Android controls.

Prerequisites

  • A running EzAgent installation with its Unix-domain socket.
  • An SSH account on the host that can reach that socket.
  • An SSH server and account policy that permit Unix-socket forwarding. The app uses OpenSSH's direct-streamlocal@openssh.com channel; it does not launch a remote command or proxy as a fallback.
  • Network reachability to the host (VPN or port forwarding are configured separately, outside the app).

Setup

  1. In the app's Connections screen, open the SSH key screen to generate a key or explicitly import an existing private key, then enroll its public key on the SSH host. Alternatively, connect once with an SSH account password.
  2. Add a connection with the SSH host, account, socket path, and working directory. The app does not save account passwords.
  3. On first connection, independently verify the displayed server host-key fingerprint using a trusted channel before accepting it. Changed host keys fail closed.
  4. Open a connection to browse sessions and the Inbox, or start a new session. Returning to Connections does not itself disconnect an established connection.

Key security overview

  • The app never displays, copies, shares, or exports a saved private key.
  • A locally generated key has no export backup: recovery after its loss requires registering a replacement. An imported key can be restored from its original backup if one exists.
  • Local unlock secrets, original import passphrases, and SSH account passwords are distinct inputs; a local PIN alone does not authenticate SSH.

Full details on key protection, host trust, forwarding restrictions, and recovery are in SSH security and lifecycle.