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.
On Arch Linux, snap can be installed from the Arch User Repository (AUR). The manual build process is the Arch-supported install method for AUR packages, and you’ll need the prerequisites installed before you can install any AUR package. You can then install snap with the following:
git clone https://aur.archlinux.org/snapd.git
cd snapd
makepkg -si
Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
sudo systemctl enable --now snapd.socket
If AppArmor is enabled in your system, enable the service which loads AppArmor profiles for snaps:
sudo systemctl enable --now snapd.apparmor.service
To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:
sudo ln -s /var/lib/snapd/snap /snap
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.