💻 Code and manage servers from Android

🌐 Français · English · العربية

Your phone can be a real emergency workstation: SSH into a server, run git pull, check an APK or debug an app without a cable.

1. A real Linux terminal: Termux

Termux is a full Linux terminal, no root needed.

2. Secure SSH: keys, not passwords

ssh-keygen -t ed25519 -C "my-phone"       # creates ~/.ssh/id_ed25519
ssh-copy-id user@my-server.com             # copies the public key to the server

Create ~/.ssh/config so you never type addresses again:

Host prod
    HostName my-server.com
    User deploy
    Port 22
    IdentityFile ~/.ssh/id_ed25519
    ServerAliveInterval 30

Then just run ssh prod. Good practices:

3. Git on the go

git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git clone git@github.com:you/project.git

Add your SSH public key to GitHub or GitLab (Settings → SSH keys). A quick fix committed from the phone is fine. Keep big changes for the computer.

4. Debug without a cable: wireless ADB (Android 11+)

  1. Settings → About phone → tap Build number 7 times to enable developer options.
  2. Developer options → Wireless debugging → turn on → Pair device with pairing code.
  3. On the computer (same Wi-Fi network): ```bash adb pair 192.168.1.20:37155 # IP:port and code shown on the phone adb connect 192.168.1.20:41023 # port shown on the "Wireless debugging" screen adb devices ```

Useful commands: adb install app.apk, adb logcat, adb shell pm list packages, adb exec-out screencap -p > screen.png.

5. APKs: install without taking risks

6. Small tricks that change everything


🧪 My apps for developers

I build Android tools to manage code, handle APKs and connect over SSH. Club members test them before anyone else, with free Premium.

👉 Join the testers club · ← All guides

← All guides