A mobile-first Flutter application for managing Linux/Unix servers via SSH and SFTP. Connect to multiple servers, execute commands in a full ANSI-compatible terminal, manage files remotely, and access a suite of system administration tools.
- SSH Terminal — Full ANSI-compatible terminal with Unicode rendering, configurable font size, underline cursor, and hardware/virtual keyboard support via the
xtermwidget - File Manager (SFTP) — Browse remote file systems, upload/download files, preview content, rename, delete, and open with external apps. Supports connecting to a different host/port than SSH
- Server Profiles — Save and manage multiple server connections with separate SSH and SFTP credentials, nicknames, and quick-connect cards
- Command Snippets — Library of reusable commands with copy, edit, and delete support. Deleted snippets go to the Recycle Bin
- Secure Vault — PIN-protected local file storage with image thumbnails and video playback. Auto-locks on app suspend
- Network Discovery — Scan local networks for active hosts
- Recycle Bin — Recover deleted snippets, server profiles, and SFTP files. Open or download recycled files before restoring
- Notifications — Background download completion alerts via
flutter_local_notifications - Biometric Auth — App unlock with fingerprint / face ID on launch (
local_auth) - Auto-Connect — Optionally auto-connect to the last active session on app launch
- Hide IPs — Toggle IP/hostname display on the login screen and home screen app bar
Screenshots to be added
lib/
├── core/
│ ├── constants/ # AppColors, theme constants
│ ├── models/ # ServerProfile, SftpFile, CommandSnippet, RecycleEntry
│ ├── services/ # SSH, SFTP, Session, Snippets, RecycleBin, Notifications
│ └── utils/ # Formatters
├── features/
│ ├── auth/ # Login screen with biometric auth and saved server cards
│ ├── discovery/ # Network host discovery
│ ├── home/ # Main dashboard with terminal, file browser, snippets, and tools
│ ├── recycle/ # Recycle bin for deleted files, snippets, and servers
│ ├── servers/ # Server list with search, edit, nickname, and delete
│ ├── settings/ # App settings (biometric, font size, hide IPs, auto-login)
│ ├── terminal/ # Standalone full-screen terminal with special-keys toolbar
│ └── vault/ # PIN-protected local file storage
├── shared/
│ └── widgets/ # GlassCard, reusable widgets
├── app.dart # MaterialApp with routing & theme
└── main.dart # App entry point
| Service | Role |
|---|---|
SshService |
Manages SSH connections, command execution, and terminal I/O via dartssh2 |
SftpService |
Handles file transfers, directory listings, and remote file operations (supports independent host/port) |
SessionService |
Manages server profiles, active sessions, and credential storage |
SnippetService |
Loads and manages command snippets |
RecycleBinService |
Tracks and restores deleted files, snippets, and server profiles |
NotificationService |
Local push notifications for download events |
- Framework: Flutter 3.12+ / Dart 3.12+
- SSH/SFTP:
dartssh2for SSHv2 connections and SFTP channels - Terminal:
xtermfor full ANSI/Unicode terminal rendering - Storage:
flutter_secure_storagefor encrypted credentials,shared_preferencesfor settings - Auth:
local_authfor biometric authentication - Icons: Custom app icon from
SSMLogo.jpg
- Flutter SDK >=3.12.2 (see
pubspec.yaml) - Android Studio / Xcode (for platform builds)
- A Linux/Unix server with SSH access for testing
-
Clone the repository:
git clone <repo-url> cd simple_server_management
-
Install dependencies:
flutter pub get
-
Run on a connected device / emulator:
flutter run
App icon and branding are configured in pubspec.yaml:
flutter_launcher_icons:
image_path: "SSMLogo.jpg"
android: true
ios: trueRegenerate launcher icons after changing the source image:
dart run flutter_launcher_icons# Debug APK
flutter build apk --debug
# Release APK (unsigned, uses debug keystore)
flutter build apk --release
# iOS (requires macOS + Xcode)
flutter build ios- Terminal shows garbled characters: Ensure the server's locale is UTF-8 (run
localeon the server). SSM usesutf8.decode()on all SSH output. - Terminal input issues: If you need to press Enter twice, try a hardware keyboard or use the special-keys toolbar in the standalone terminal screen.
- SFTP upload fails: Verify write permissions on the target directory. Check that SFTP host/port are correct if using separate credentials.
- Biometric auth not working: The device must have a biometric sensor enrolled. On Android, ensure
USE_BIOMETRICpermission is granted (required for Android 13+). - Build errors: Run
flutter clean && flutter pub getto reset build artifacts.