[Open-source] A Multi-platform Desktop SSH / SFTP Client with Integrated AI Server Diagnostic Assistant
![[Open-source] A Multi-platform Desktop SSH / SFTP Client with Integrated AI Server Diagnostic Assistant](https://yy123.ink/api/img/1796366601943-0zr6ei.png)
1. Project Overview
Flocks
AI Native SecOps Platform
OrbitSSH is a desktop SSH/SFTP client based on Electron + Vue 3BuildDesktop SSH/SFTP Client. It combines powerful remote connection capabilities, multi-tab terminal management, visual file browsing and transfer, and AI server diagnosis assistant in a simple interface, targeting system administrators, developers, and all users who need to frequently interact with remote Linux servers.
2. Open Source License
Licensed under MIT
3. Screenshots
Interface Preview
|
|
|
|
|---|---|---|
|
|
|
4. Feature Overview
Key Features
SSH Terminal
-
High-performance terminal emulation based on xterm.js, supporting 256 colors, cursor styles, and window adaptation -
Multi-tab session management, one-click switching between different servers and contexts -
Terminal content search (built-in xterm-addon-search) -
System clipboard integration, supporting selection copy and right-click paste -
Support for quick reconnection after disconnection and automatic recovery of the main SFTP session after successful reconnection
SFTP File Management
-
Dual-column layout, local ⇄ remote file browsing at a glance -
Drag-and-drop upload/download, batch operations do not block the terminal -
Remote file in-place editing, automatic return of saved changes -
Online image preview -
Directory-to-directory file synchronization (bidirectional comparison + selective transfer) -
Complete file CRUD operations: create, rename, delete
AI Assistant
-
Built-in AI assistant panel, isolated from different servers and contexts by terminal tab -
Automatic questioning based on the current server, terminal path, SFTP path, connection status, and recent terminal output -
Support for OpenAI compatible models, providing stream-based responses, real-time Markdown rendering, and command execution process cards -
Support for three permission modes: 'each time ask / automatic approval / full access', built-in read-only command whitelist, and high-risk command forced approval -
Support for multiple model configurations, current model switching, and default mode settings, API Key stored in local secure storage and displayed in a sensitive manner in the interface
Server Management
-
Local persistent storage of connection configurations, supporting create, read, update, and delete, as well as grouping and organization -
Sensitive information such as passwords and private keys stored in system-level secure storage and encrypted -
One-click connection and quick reconnection
Theme and Appearance
-
Customizable theme color, terminal color scheme, and global UI control -
Customizable window title bar (no native framework), immersive dark default style -
Font size, line height, cursor style, and other terminal details can be adjusted
Version Update
-
Built-in electron-updater for automatic update checking, supporting generic server distribution -
Update prompt pop-up with download progress visible, one-click installation
5. Tech Stack
Technical Architecture
┌──────────────────────────────────────────────┐│ Renderer ││ Vue 3 + Pinia + TypeScript ││ ┌──────────┬──────────┬──────────┬──────┐ ││ │ Terminal │ SFTP │ Settings │ AI │ ││ │ Panel │ Panel │ Dialog │Panel │ ││ └──────────┴──────────┴──────────┴──────┘ │├──────────────────────────────────────────────┤│ Preload ││ contextBridge (security isolation) │├──────────────────────────────────────────────┤│ Main Process ││ Electron + Node.js ││ ┌──────┬──────┬──────┬──────┬──────┬─────┐ ││ │ SSH │ SFTP │ AI │Store │Update│Log │ ││ │Mgr │Mgr │Agent │ │ │ │ ││ └──────┴──────┴──────┴──────┴──────┴─────┘ │└──────────────────────────────────────────────┘
Key Design Principles:
- Process Isolation
Enable contextIsolation + sandbox, Renderer has no direct access to Node.js —— all system capabilities are exposed through ipcMain / ipcRenderer as needed - Connection Reuse
SSH sessions are persisted in the Main process, automatically cleaned up when the window is closed - Security First
nodeIntegration: false, preload script is the only bridge between Renderer and the system; AI command execution undergoes strategy validation, approval, and session ownership validation
Tech Stack
| Layer |
Technology |
| Desktop Framework |
Electron 37 |
| Front-end Framework |
Vue 3 (Composition API) |
| State management |
Pinia |
| Terminal Simulation |
xterm.js 5 + Canvas rendering |
| SSH Protocol |
ssh2 |
| SFTP Protocol |
ssh2-sftp-client |
| Code Editor |
CodeMirror 6 |
| Markdown Rendering |
markdown-it + DOMPurify |
| Local Persistent Storage |
electron-store |
| Automatic Update |
electron-updater |
| Build tools |
Vite + electron-builder |
| Language |
TypeScript (strict) |
Quick Start
Environment Requirements
- Node.js
≥ 22 - npm
≥ 9 -
Windows / macOS / Linux
Clone the Project
git clone https://gitee.com/ksdhy/orbit-sshcd orbitssh
Install Dependencies
npm install
Development Mode
Start Vite development server + Electron window (supports HMR):
npm run dev:electron
Build and Packaging
# Only build output to dist/dist-electronnpm run build# Build and package Windows installer (output to release/)npm run dist
Project Structure
orbitssh/├── src/│ ├── main/ # Electron Main Process│ │ ├── index.ts # Application Entry, Window Creation & IPC Registration│ │ ├── ipc/ # IPC Handler│ │ │ ├── ai-ipc.ts # AI Assistant IPC│ │ │ ├── server-ipc.ts # Server Connection Configuration Management│ │ │ ├── terminal-ipc.ts # Terminal Session IPC│ │ │ ├── sftp-ipc.ts # File Transfer IPC│ │ │ ├── settings-ipc.ts # Application Settings Read/Write│ │ │ ├── clipboard-ipc.ts# Clipboard Read/Write│ │ │ ├── dialog-ipc.ts # Native Dialog│ │ │ ├── window-ipc.ts # Window Control (Minimize/Maximize/Close)│ │ │ ├── system-ipc.ts # System Information│ │ │ ├── update-ipc.ts # Application Update│ │ │ └── logger-ipc.ts # Log Channel│ │ ├── ssh/ # SSH Session Management│ │ │ ├── session-manager.ts│ │ │ └── auth-options.ts│ │ ├── sftp/ # SFTP Session Management│ │ │ └── sftp-manager.ts│ │ ├── ai/ # AI Agent with Command Strategy│ │ │ ├── ai-agent.ts│ │ │ └── command-policy.ts│ │ ├── storage/ # Local Persistent Storage│ │ │ ├── server-store.ts│ │ │ └── settings-store.ts│ │ ├── update/ # Automatic Update Module│ │ │ └── index.ts│ │ └── logger.ts # Application Log│ ├── preload/ # Preload Script (contextBridge Safe Exposure of API)│ │ ├── index.ts│ │ └── index.cjs│ ├── renderer/ # Vue Rendering Process│ │ ├── components/ # UI Components│ │ ├── assets/ # Icons & Static Resources│ │ ├── styles.css # Global Styles│ │ └── App.vue # Root Component│ └── shared/ # Main Process ⇄ Rendering Process Shared Type Definitions│ ├── server.ts│ ├── ai.ts│ ├── settings.ts│ ├── sftp.ts│ └── terminal.ts├── docs/ # Documents & Screenshots├── build/ # Build Resources (Icons, NSIS Script)├── scripts/ # Auxiliary Script├── vite.config.ts├── tsconfig.json├── tsconfig.electron.json├── package.json└── README.md
6. Source Code Repository
Open-source project address:
https://gitee.com/ksdhy/orbit-ssh
Next steps