Give your AI agent access to Android — over Wi-Fi or USB.
.
ADB SSH Tunnel is the Linux companion for autonomous Android workflows. Connect your Android phone to a trusted Linux computer by USB or through an already configured Wi-Fi ADB connection. Your AI agent can then reach that computer's local SDK ADB server through a restricted, key-only SSH gateway and carry out the Android tasks you assign.
.
You choose the trusted computers and import their OpenSSH public keys. Only the username adb and the exact forwarding target 127.0.0.1:5037 are accepted. SSH shell, PTY, SFTP/SCP, agent, X11 and reverse forwarding are rejected. The system SSH service stays independent. Keep the gateway on trusted networks and retain Android's ADB authorization.
.
The app provides the connection; use your own AI agent and review the access you grant it. Initial Android debugging and computer authorization still require confirmation on the phone. If your agent runs on the same computer as a USB-connected phone, ordinary USB ADB works without an SSH tunnel.
.
The adaptive GTK 4 / Libadwaita window has a large round power button, four status tiles and plain-language problem screens. The tunnel runs as your user: closing the window keeps an enabled tunnel running, and Start at sign-in brings it back after login.
.
Snap settings live separately under ~/snap/adb-ssh-tunnel and are never migrated from the Debian package.
.
Setup instructions and a prompt to copy for your AI agent: https://github.com/krotname/AdbSshTunnel
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
If you’re running Ubuntu 16.04 LTS (Xenial Xerus) or later, including Ubuntu 18.04 LTS (Bionic Beaver) and Ubuntu 20.04 LTS (Focal Fossa), you don’t need to do anything. Snap is already installed and ready to go.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install adb-ssh-tunnel, simply use the following command:
sudo snap install adb-ssh-tunnel
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.