Banana Studio
SSH Server icon

Turn your Android device into an SSH server

Run an SSH and SFTP server with a full terminal on Android

Free v0.11.25 Android 4.4+

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

How to create a SSH/SFTP Server for Android/Android TV/Chromebook

About this app

Android SSH/SFTP 伺服器

功能強大的 Android SSH/SFTP 伺服器,讓您透過安全的網路連線遠端存取裝置。應用程式內建完整的終端機功能,並支援透過 SFTP 存取檔案,適合用於遠端管理、檔案管理與自動化操作。

應用程式支援 Wi-Fi、Ethernet 與網路共享、多個使用者、可設定的存取路徑、自動啟動伺服器、透過 Android Intent 進行控制等功能。

功能

  • Android SSH/SFTP 伺服器 — 直接在 Android 裝置上執行 SSH 與 SFTP 伺服器。
  • 完整終端機存取 — 遠端連線並使用 Android 裝置上的完整 Shell 終端機。
  • 多種網路介面 — 使用任何可用的網路連線,包括 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_SERVER
  • net.xnano.android.sshserver.STOP_SERVER

應用程式畫面

首頁

首頁提供 SSH/SFTP 伺服器的控制功能,包括:

  • 啟動或停止伺服器
  • 監控已連線的用戶端
  • 變更伺服器連接埠
  • 啟用裝置開機時自動啟動
  • 設定其他伺服器選項

使用者管理

管理使用者及其存取設定,包括:

  • 建立及管理多個使用者
  • 為每個使用者設定存取路徑
  • 個別啟用或停用使用者
  • 設定 SFTP 存取權限

關於

查看 SSH/SFTP 伺服器與應用程式的相關資訊。

支援的 SSH/SFTP 用戶端

您可以使用 Windows、macOS、Linux 或 Android 上相容的用戶端,以及支援的網頁工具連線至 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 連線資訊的存取施加額外限制,尤其是在應用程式於背景執行時。

支援

如果您遇到問題、希望提出功能需求,或對應用程式有任何意見,請聯絡我們:

[email protected]

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.

Read the privacy policy →

What's new

v0.11.25
  • 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.

Related news