OpenSSH and Rsync for rooted Android devices running KernelSU, APatch, or Magisk. Everything runs from /data/adb/ssh with no system mounts on KernelSU and APatch, and SSH sessions can read and write internal storage (/sdcard).
- Android 7.0 or newer (
arm,arm64,x86,x86_64), with Android System WebView 61+ for the WebUI - KernelSU, APatch, or Magisk
Download the ZIP from Releases, install it in KernelSU, APatch, or Magisk, and reboot (KernelSU hot install starts SSH without rebooting).
Open the module WebUI from your root manager (on Magisk, tap Action to launch KsuWebUIStandalone or WebUI X) to start or stop SSH, copy the connect command, change the port or sign-in rules, manage keys, or edit sshd_config. Saved changes reload sshd right away without dropping open SSH sessions. If sshd cannot apply a change, the previous config is restored automatically.
SSH keys work out of the box for both root and shell. To set a password, run passwd shell or passwd root in a root terminal. Root password login also requires setting Root sign-in to Key or password on the Access tab.
Your config, keys, and /data/ssh/etc/shadow live under /data/ssh. Create an empty /data/ssh/KEEP_ON_UNINSTALL file before uninstalling if you want to keep them.
Forked from MagiskSSH by D4rCM4rC and contributors. Ships OpenSSH 10.6p2, OpenSSL 4.1.0, Rsync 3.5.2, and the WebUI bridge from kernelsu-alt (Apache-2.0).
Build steps and technical details are in CONTRIBUTING.md. Licensed under GPL-3.0.