Skip to content

Releases

v0.8.0

Choose a tag to compare

@inureyes inureyes released this 12 Sep 18:45

New Features

  • SSH Port Forwarding: Added comprehensive SSH port forwarding support with local (-L), remote (-R), and dynamic (-D) SOCKS5 forwarding (#31)
    • Local port forwarding for accessing remote services through local ports
    • Remote port forwarding for exposing local services to remote servers
    • Dynamic port forwarding with SOCKS5 proxy support
    • Multiple simultaneous port forwarding configurations
    • Full integration with all authentication methods

Improvements

  • Error Handling: Removed dangerous unwrap() calls throughout the codebase for better stability (#35)
  • SSH Error Messages: Improved error messages for SSH connection failures and authentication issues (#36)
  • Command Execution: Enabled automatic command execution for better usability

Bug Fixes

  • Fixed potential panics from unwrap() calls in production code
  • Improved error recovery and reporting for SSH operations

CI/CD Improvements

None

Technical Details

  • Complete SSH port forwarding implementation with Phase 1 and Phase 2 features
  • Comprehensive port forwarding architecture documentation
  • Enhanced error handling with proper Result types and context
  • Fixed DNS resolution errors in forwarding tests

Dependencies

  • No major dependency changes in this release

Breaking Changes

None

Known Issues

None

What's Changed

  • feat: Complete SSH port forwarding implementation (Phase 1 + Phase 2) by @inureyes in #31
  • refactor: remove dangerous unwrap() calls and improve error handling by @inureyes in #35
  • fix: improve SSH error messages and enable automatic command execution by @inureyes in #36

Full Changelog: v0.7.0...v0.8.0

v0.7.0

Choose a tag to compare

@inureyes inureyes released this 30 Aug 08:51

New Features

  • SSH Jump Host Support: Added infrastructure and CLI integration for SSH jump hosts using OpenSSH-compatible -J syntax (#30)
    • Robust parsing of OpenSSH ProxyJump format (e.g., user@host:port,user2@host2:port2)
    • Support for single and multiple jump hosts in chain
    • IPv6 address handling with bracket notation
    • Comprehensive input validation and error handling
    • Full integration with all commands (exec, ping, upload, download)

Improvements

  • Ubuntu PPA: Improved Ubuntu PPA build process and package generation
  • Debian Packaging: Enhanced Cargo vendor support for older distribution compatibility

Bug Fixes

  • Fixed Ubuntu PPA update issues
  • Fixed deprecated GitHub Actions by replacing actions-rs/toolchain with dtolnay/rust-toolchain

CI/CD Improvements

  • Modernized GitHub Actions workflow by removing deprecated actions
  • Improved build process for Debian-based distributions

Technical Details

  • Jump host parser implementation with comprehensive error handling
  • OpenSSH-compatible command-line syntax for ProxyJump functionality
  • Enhanced logging for jump host connection debugging

Dependencies

  • No major dependency changes in this release

Breaking Changes

None

Known Issues

None

What's Changed

  • fix: Debian changelog generation for Ubuntu PPA builds by @inureyes in #29
  • feat: Add SSH jump host (-J) infrastructure and CLI integration by @inureyes in #30

Full Changelog: v0.6.1...v0.7.0

v0.6.1

Choose a tag to compare

@inureyes inureyes released this 28 Aug 13:57

New Features

None

Improvements

  • Branding Update: Rebranded from 'Backend.AI SSH' to 'Broadcast SSH' to better reflect the tool's core functionality of broadcast/parallel command execution
  • Documentation: Updated all help text, manpages, and package descriptions with the new branding

Bug Fixes

None

CI/CD Improvements

None

Technical Details

  • Maintained Backend.AI project association in documentation while emphasizing the tool's broader utility
  • Updated project branding across CLI help output, UI banners, man pages, and Debian package metadata

Dependencies

None

Breaking Changes

None

Known Issues

None

Full Changelog: v0.6.0...v0.6.1

v0.6.0

Choose a tag to compare

@inureyes inureyes released this 28 Aug 13:41

New Features

  • SSH Configuration File Support: Added -F option for SSH config file parsing with full compatibility
  • PTY Allocation: Implemented true PTY allocation for interactive mode with secure terminal handling
  • SSH-Compatible Command-Line Interface: Enhanced CLI to provide drop-in SSH replacement functionality
  • Help Message Improvements: Show help when no arguments provided and add Backend.AI branding to help output
  • Security Enhancements: Comprehensive security hardening across the codebase

Improvements

  • Performance Optimizations:
    • Implemented tokio::select! for efficient event multiplexing in PTY sessions
    • Added SSH config caching with LRU cache for better performance
    • Implemented async file I/O for SSH config operations
    • Added environment variable caching to reduce system calls
  • Code Quality:
    • Split monolithic ssh_config.rs into focused modules for better maintainability
    • Resolved all clippy warnings for cleaner code

Bug Fixes

  • PTY Session Management: Fixed PTY session termination hanging issue after exit command
  • Configuration Handling: Fixed parallel config value handling from configuration file
  • Security Fixes:
    • Prevented command injection vulnerabilities in ProxyCommand and ControlPath
    • Fixed path traversal attack vulnerabilities in file path handling
    • Prevented environment variable injection attacks
  • Localhost Connectivity: Fixed SSH connections to localhost

CI/CD Improvements

  • Enhanced release process with automated checks

Technical Details

  • Refactored SSH configuration parsing for better modularity
  • Implemented comprehensive security improvements for PTY implementation
  • Added performance optimizations for I/O operations

Dependencies

  • Updated test files to resolve clippy warnings
  • Maintained compatibility with existing russh and tokio dependencies

Breaking Changes

None

Known Issues

None

What's Changed

  • fix: align interactive mode authentication with exec mode by @inureyes in #17
  • fix: use parallel config value from configuration file by @inureyes in #18
  • feat: enhance CLI help messages with comprehensive documentation by @inureyes in #19
  • feat: show help message when no arguments provided by @inureyes in #20
  • feat: add SSH-compatible command-line interface and fix localhost connectivity by @inureyes in #25
  • fix: use parallel config value from configuration file by @inureyes in #26
  • feat: implement true PTY allocation for interactive SSH sessions by @inureyes in #27
  • feat: Add SSH configuration file parsing (-F option) by @inureyes in #28

Full Changelog: v0.5.4...v0.6.0

v0.5.4

Choose a tag to compare

@inureyes inureyes released this 27 Aug 08:41

Bug Fixes

  • Fix parallel config value handling from configuration file - previously the parallel setting was completely ignored
  • Align interactive mode authentication with exec mode for consistency

Improvements

None

New Features

None

CI/CD Improvements

None

Technical Details

  • Added proper config support for the parallel option with priority: CLI (if explicit) > Cluster config > Global defaults > CLI default
  • Interactive mode now uses the same authentication logic as exec mode

Dependencies

None

Breaking Changes

None

Known Issues

None

What's Changed

  • fix: align interactive mode authentication with exec mode by @inureyes in #17

Full Changelog: v0.5.3...v0.5.4

v0.5.3

Choose a tag to compare

@inureyes inureyes released this 27 Aug 07:36

New Features

None

Improvements

  • Use Backend.AI cluster SSH key (/home/config/ssh/id_cluster) for auto-detected environments

Bug Fixes

None

CI/CD Improvements

None

Technical Details

  • When running in Backend.AI multi-node sessions (auto-detected via BACKENDAI_CLUSTER_HOSTS), bssh now automatically configures the cluster SSH key path to /home/config/ssh/id_cluster for seamless authentication

Dependencies

  • Version bumped from v0.5.2 to v0.5.3

Breaking Changes

None

Known Issues

None

What's Changed

  • feat: use Backend.AI cluster SSH key for auto-detected environments by @inureyes in #16

Full Changelog: v0.5.2...v0.5.3

v0.5.2

Choose a tag to compare

@inureyes inureyes released this 27 Aug 07:10

Release v0.5.2

This release focuses on improving configuration handling and Backend.AI integration.

New Features

None

Improvements

  • Improved config file loading priority to correctly handle user-specified config files via --config option
  • Enhanced Backend.AI environment detection and configuration
  • Simplified BACKENDAI environment variable handling for better cluster auto-detection
  • Now properly uses cluster-level SSH key configuration when specified

Bug Fixes

  • Fixed config file loading order issue where --config flag was not properly respected
  • Fixed unit test failures related to config file handling
  • Corrected SSH key configuration usage from cluster settings
  • Resolved BACKENDAI environment configuration conflicts

CI/CD Improvements

None

Technical Details

  • Config loading priority is now: --config flag > current directory > user config dir > default location
  • Backend.AI auto-detection creates a dedicated 'bai_auto' cluster configuration
  • Improved test coverage for configuration management
  • Version interim updated from 24.10 to 25.04

Dependencies

None

Breaking Changes

None

Known Issues

None

v0.5.1

Choose a tag to compare

@inureyes inureyes released this 25 Aug 05:57

New Features

  • Add configurable command timeout with support for unlimited execution (timeout=0)
  • Command timeout configurable via CLI argument (--timeout) and configuration file
  • Cluster-specific timeout settings support in configuration

Improvements

  • Add comprehensive configuration management for interactive mode with global and per-cluster settings
  • Improved duration formatting in interactive mode for better readability
  • Enhanced timeout error messages to show configured timeout values

Bug Fixes

  • Resolve all clippy warnings and errors for cleaner codebase
  • Fix duration formatting issues in interactive mode

CI/CD Improvements

  • Add OSV scanner for vulnerability detection in dependencies

Technical Details

  • Timeout priority system: CLI argument > cluster config > global config > default (300s)
  • Default timeout remains 300 seconds for backward compatibility
  • Setting timeout to 0 disables timeout completely for unlimited execution
  • Timeout applies to all SSH operations including exec, upload, and download commands

Dependencies

None

Breaking Changes

None

Known Issues

None

v0.5.0

Choose a tag to compare

@inureyes inureyes released this 22 Aug 18:09

New Features

  • Interactive mode with single-node and multiplex (multi-node) support for real-time shell sessions
  • Broadcast command in interactive mode to send commands to all nodes simultaneously
  • Node switching capability in interactive mode with improved UI scaling for large clusters

Improvements

  • Auto-detection of Backend.AI cluster environment without requiring explicit -c flag
  • Better prompt scaling and UI formatting for clusters with many nodes
  • Comprehensive interactive mode documentation with usage examples
  • Clarified SSH implementation details and library usage in documentation

Bug Fixes

  • Resolved clippy collapsible-if warnings in expand_path function
  • Fixed missing password option in command-line options documentation
  • Resolved clippy warnings and test failures in interactive mode implementation
  • Improved signal handling in interactive mode for proper cleanup

CI/CD Improvements

None

Technical Details

  • Complete Phase 1 implementation of interactive mode with proper signal handling (SIGINT, SIGTERM)
  • Refactored codebase with modular command and utility organization for better maintainability
  • Updated dependencies to latest versions for security and performance improvements

Dependencies

  • Updated all dependencies to latest stable versions

Breaking Changes

None

Known Issues

None

What's Changed

  • refactor: restructure codebase with modular command and utility organization by @inureyes in #8
  • feat: add interactive mode with single-node and multiplex support by @inureyes in #9

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@inureyes inureyes released this 22 Aug 14:14

New Features

  • Password authentication support with --password flag for servers without key-based authentication
  • SSH key passphrase support with automatic detection and secure prompting for encrypted keys
  • Modern UI with semantic colors and Unicode symbols for better visual hierarchy
  • Debian packaging support with Backend.AI attribution for distribution via package repositories

Improvements

  • XDG Base Directory specification compliance for configuration files (~/.config/bssh/ instead of ~/.bssh/)
  • Better result pane with enhanced output display and formatting
  • Improved default user handling using system username detection

Bug Fixes

  • Added blank line before help message for better readability

CI/CD Improvements

  • Enhanced Debian build actions in GitHub Actions workflow

Technical Details

  • Added rpassword crate for secure password/passphrase prompting
  • Added whoami crate for reliable system username detection
  • Enhanced authentication methods with multiple fallback mechanisms
  • Improved error handling for authentication failures

Dependencies

  • Updated project dependencies to latest compatible versions

Breaking Changes

  • Configuration files moved from ~/.bssh/ to ~/.config/bssh/ following XDG Base Directory specification

Known Issues

None