Turn your Android device into an SSH server
Run an SSH and SFTP server with a full terminal on Android
Run a full SSH and SFTP server on Android with terminal access, multiple users, public key authentication, and flexible file permissions.
Features
SSH Server
Run a fully functional SSH server directly on your Android device and access the terminal remotely.
SFTP Server
Transfer and manage files securely using SFTP from compatible desktop or mobile clients.
Multiple Users
Create multiple users with individual authentication, shell, and file access settings.
Public Key Authentication
Configure public key authentication for users who need key-based SSH access.
Flexible File Permissions
Configure multiple SFTP paths for each user with read-only or full read/write access.
Automatic Startup
Automatically start the SSH/SFTP server when the device boots or when a configured Wi-Fi network is detected.
Tasker Integration
Automate server actions using Android intents and Tasker.
Multiple Network Interfaces
Use Wi-Fi, Ethernet, tethering, and other available network interfaces to connect to the server.
Videos
About this app
Android 向け SSH/SFTP サーバー
安全なネットワーク接続を介して Android デバイスにリモートアクセスできる、高機能な SSH/SFTP サーバーです。完全な機能を備えたターミナルを搭載し、SFTP によるファイルアクセスにも対応しています。リモート管理、ファイル管理、自動化などに利用できます。
Wi-Fi、Ethernet、テザリング、複数ユーザー、アクセスパスの設定、サーバーの自動起動、Android Intent による制御などに対応しています。
機能
- Android 向け SSH/SFTP サーバー — Android デバイス上で SSH および SFTP サーバーを直接実行できます。
- 完全なターミナルアクセス — リモートから接続し、Android デバイス上でフル機能のシェルターミナルを使用できます。
- 複数のネットワークインターフェース — Wi-Fi、Ethernet、テザリングなど、利用可能なネットワーク接続を使用できます。
- 複数ユーザー — 複数のユーザーアカウントを作成・管理できます。ユーザー名
ssh、パスワードなしの匿名ユーザーにも対応しています。 - ユーザーごとのアクセス制御 — ユーザーごとにアクセス権限を個別に設定できます。
- SFTP アクセスパス — 内部ストレージや外部 SD カード上のフォルダーを含め、ユーザーごとに複数のフォルダーを設定できます。
- 読み取り専用または書き込み可能なアクセス — 設定した SFTP パスごとに、読み取り専用または完全な書き込み権限を設定できます。
- 隠しファイル — 各ユーザーが SFTP 経由で隠しファイルにアクセスできるかどうかを設定できます。
- Wi-Fi 接続時の自動起動 — 指定した Wi-Fi ネットワークに接続すると、SSH/SFTP サーバーを自動的に起動できます。
- 起動時の自動開始 — Android デバイスの起動時にサーバーを自動的に起動できます。
- スクリプトと自動化 — 公開 Android Intent や Tasker などの自動化ツールを使用してサーバーを制御できます。
Tasker 連携
Tasker やその他の自動化ツールから Android Intent を送信して、SSH/SFTP サーバーを制御できます。
Tasker で新しい Task Action を作成し、System → Send Intent を選択して、以下の情報を指定してください。
- Package:
net.xnano.android.sshserver - Class:
net.xnano.android.sshserver.receivers.CustomBroadcastReceiver
サーバーを起動または停止するには、以下のいずれかの Action を使用します。
net.xnano.android.sshserver.START_SERVERnet.xnano.android.sshserver.STOP_SERVER
アプリ画面
ホーム
ホーム画面では、SSH/SFTP サーバーを以下のように操作できます。
- サーバーの起動・停止
- 接続中のクライアントの監視
- サーバーポートの変更
- デバイス起動時の自動起動の有効化
- その他のサーバー設定
ユーザー管理
ユーザーとアクセス設定を管理できます。
- 複数ユーザーの作成・管理
- ユーザーごとのアクセスパスの設定
- ユーザーの個別の有効化・無効化
- SFTP アクセス権限の設定
アプリ情報
SSH/SFTP サーバーおよびアプリに関する情報を確認できます。
対応 SSH/SFTP クライアント
Windows、macOS、Linux、Android 向けの対応クライアントや、対応する Web ベースのツールから SSH/SFTP サーバーに接続できます。
動作確認済みのクライアントには以下があります。
- FileZilla
- WinSCP
- Bitvise SSH Client
- macOS の Finder
- Linux の ターミナルおよびファイルマネージャー
- Android の Total Commander
- Android の ES File Explorer
Android の電源管理
Android の Doze モードやその他のバッテリー最適化機能によって、SSH/SFTP サーバーがバックグラウンドで正常に動作しない場合があります。
サーバーが予期せず停止したり、動作を維持できない場合は、デバイスの設定でアプリをバッテリー最適化の対象外に追加してください。
権限
Android のバージョンや有効にしている機能によって、アプリには以下の権限が必要になる場合があります。
- ストレージへのアクセス — SSH/SFTP サーバーがデバイス上のファイルにアクセスするために必要です。
- インターネットおよびネットワークへのアクセス — クライアントが SSH/SFTP サーバーに接続するために必要です。
- 位置情報へのアクセス — Android P 以降で、Wi-Fi ネットワークの検出に基づくサーバーの自動起動を使用する場合に必要です。
Android では、特にアプリがバックグラウンドで実行されている場合、Wi-Fi 接続情報へのアクセスに追加の制限が適用されることがあります。
サポート
問題が発生した場合、機能のリクエストがある場合、またはアプリについてご意見・ご要望がある場合は、以下までお問い合わせください。
Requirements
- Minimum Android
- 4.4 (API 19)
Android 4.4 or later
Privacy & permissions
According to the Google Play data safety declaration, the app does not share data with third parties.
The app may collect app information and performance data, as well as device or other IDs.
SSH Server requires network access to provide SSH/SFTP connectivity and storage access to provide file transfer functionality.
Location permission is only required when using the automatic Wi-Fi detection feature on supported Android versions.
-
Storage
Required to allow the SSH/SFTP server to access files that you make available through the server.
-
Internet
Required to allow SSH and SFTP clients to connect to the server.
-
Network State
Used to detect available network connections and provide network information required by the server.
-
Wi-Fi State
Used for Wi-Fi network information and automatic Wi-Fi startup features.
-
Location
Required on supported Android versions when using automatic Wi-Fi detection to start the SSH/SFTP server.
-
Manage External Storage
Required on supported Android versions when the server needs access to files stored on the device.
What's new
- Added the ability to disable Shell access for a specific user.
Frequently asked questions
SSH Server allows you to run an SSH and SFTP server directly on your Android device and access it remotely from compatible clients.
Can I access the Android terminal remotely?
Yes. The built-in SFTP server allows compatible clients to browse, upload, download, and manage files according to the configured permissions.
Yes. You can create multiple users and configure their authentication and access settings independently.
Yes. Public key authentication can be configured for individual users.
Yes. Each user can have multiple SFTP access paths pointing to selected folders in internal storage or external SD card storage.
Yes. Each SFTP access path can be configured as read-only or full read/write access.
Yes. The server can automatically start when the device boots or when a configured Wi-Fi network is detected.
Yes. SSH Server provides public Android intents that can be used with Tasker and other automation tools.
You can use compatible SSH/SFTP clients on Windows, macOS, Linux, Android, and other platforms. Tested clients include FileZilla, WinSCP, Bitvise SSH Client, macOS Finder, Linux file managers, Total Commander, and ES File Explorer.