Repository navigation
v2.3.0
Release v2.3.0
Release Notes
This release enhances DTail's SSH authentication capabilities by adding support for direct private key file authentication, providing users with more flexible authentication options beyond SSH agent-based methods.
🔧 New Features
Direct SSH Private Key Authentication
- Added
--keyparameter to all DTail commands (dtail,dgrep,dcat,dmap,drun) - Specify private key files directly using
--key /path/to/private/keywithout requiring SSH agent setup - Streamlined authentication for environments where SSH agents are not available or preferred
🚀 Improvements
Enhanced SSH Authentication Flow
- Improved authentication method priority: Custom private keys take precedence, followed by SSH agent, then default key locations
- Better error handling with clearer messaging when authentication methods fail
- More robust key discovery that gracefully falls back through multiple authentication options
Code Quality & Architecture
- Refactored SSH authentication logic for better maintainability and extensibility
- Enhanced logging with more detailed debug information for troubleshooting authentication issues
- Consistent parameter handling across all command-line tools
📚 Documentation
- Updated quickstart guide with comprehensive SSH authentication setup instructions
- Added private key authentication examples showing both SSH agent and direct key file usage
- Clarified authentication method selection to help users choose the best approach for their environment
🔄 Migration Notes
This release is fully backward compatible. Existing SSH agent-based authentication continues to work without any changes. The new --key parameter is optional and provides an additional authentication method for users who prefer or require direct private key file access.
🛠️ Technical Details
- Enhanced SSH client initialization with support for multiple authentication strategies
- Improved connection handling and error reporting for authentication failures
- Updated all command-line interfaces to support the new private key parameter consistently