How fareldev-hub/vyssh works
VySSH is a local SSH dashboard and management console. A user starts it through the CLI, then uses the browser dashboard or interactive monitor; dashboard requests go through the local server, which reads settings and coordinates remote SSH operations, terminal sessions, file/system features, and tunnels. SSH credentials are built separately and used for persistent connections or connection tests. The README documents the local UI/API boundary and local credential storage. Some server routes and wiring are only partially excerpted, so edges rely on the source index where noted; unsampled subsystem internals are not inferred.
Main entry points: server.js HTTP and WebSocket API · sshManager.js SSH connection manager · config.js Configuration · web.js Dashboard UI
Components 16
User entry points
- Dashboard UI
private/web.js - CLI and monitor
src/cli.js
Local dashboard
- HTTP and WebSocket API
src/server.js
SSH connectivity
- SSH connection manager
src/sshManager.js - SSH auth builder
src/sshAuth.js - SSH connection test
src/sshTester.js
Remote operations
- Terminal sessions
src/terminalSession.js - Remote port tunnels
src/tunnelManager.js - Project tunnel
src/projectTunnelManager.js - Port registry
src/portRegistry.js
Local state
- Configuration
src/config.js - Data paths
src/paths.js - Local config and env files
Other components
- User
- Remote SSH host
- Public tunnel provider
Connections 20
- User → CLI and monitor: runs commands
README.md - User → Dashboard UI: uses dashboard
README.md - CLI and monitor → HTTP and WebSocket API: checks local API
src/cli.js - Dashboard UI → HTTP and WebSocket API: sends local requests
README.md - HTTP and WebSocket API → Configuration: reads and updates
src/server.js - Configuration → Data paths: uses data paths
src/config.js - Data paths → Local config and env files: locates files
src/paths.js - Configuration → Local config and env files: reads and writes
src/config.js - HTTP and WebSocket API → SSH connection manager: coordinates SSH
src/server.js - HTTP and WebSocket API → SSH connection test: tests connections
src/server.js - SSH connection manager → SSH auth builder: builds credentials
src/sshManager.js - SSH connection test → SSH auth builder: builds credentials
src/sshTester.js - SSH connection manager → Remote SSH host: connects remotely
README.md - HTTP and WebSocket API → Terminal sessions: manages sessions
src/server.js - Terminal sessions → SSH connection manager: opens remote shell
src/terminalSession.js - HTTP and WebSocket API → Remote port tunnels: manages port tunnels
src/server.js - Remote port tunnels → SSH connection manager: executes remote commands
src/tunnelManager.js - HTTP and WebSocket API → Project tunnel: manages project links
src/server.js - Project tunnel → Public tunnel provider: opens public tunnel
src/projectTunnelManager.js - HTTP and WebSocket API → Port registry: updates registrations
src/server.js