@@ -8,6 +8,7 @@ A high-performance parallel SSH command execution tool for cluster management, b
88- ** Cluster Management** : Define and manage node clusters via configuration files
99- ** Progress Tracking** : Real-time progress indicators for each node
1010- ** Flexible Authentication** : Support for SSH keys and SSH agent
11+ - ** Host Key Verification** : Secure host key checking with known_hosts support
1112- ** Cross-Platform** : Works on Linux and macOS
1213
1314## Installation
@@ -30,6 +31,9 @@ bssh -c production "df -h"
3031# With custom SSH key
3132bssh -c staging -i ~ /.ssh/custom_key " systemctl status nginx"
3233
34+ # Use SSH agent for authentication
35+ bssh --use-agent -c production " systemctl status nginx"
36+
3337# Limit parallel connections
3438bssh -c production --parallel 5 " apt update"
3539```
@@ -110,16 +114,18 @@ clusters:
110114
111115` ` `
112116Options :
113- -H, --hosts <HOSTS> Comma-separated list of hosts
114- -c, --cluster <CLUSTER> Cluster name from configuration
115- --config <CONFIG> Config file path [default : ~/.bssh/config.yaml]
116- -u, --user <USER> Default username for SSH
117- -i, --identity <IDENTITY> SSH private key file
118- -p, --parallel <PARALLEL> Max parallel connections [default : 10]
119- --output-dir <OUTPUT_DIR> Output directory for results
120- -v, --verbose Increase verbosity (-v, -vv, -vvv)
121- -h, --help Print help
122- -V, --version Print version
117+ -H, --hosts <HOSTS> Comma-separated list of hosts
118+ -c, --cluster <CLUSTER> Cluster name from configuration
119+ --config <CONFIG> Config file path [default : ~/.bssh/config.yaml]
120+ -u, --user <USER> Default username for SSH
121+ -i, --identity <IDENTITY> SSH private key file
122+ -A, --use-agent Use SSH agent for authentication
123+ --strict-host-key-checking <MODE> Host key checking mode [yes|no|accept-new] [default : accept-new]
124+ -p, --parallel <PARALLEL> Max parallel connections [default : 10]
125+ --output-dir <OUTPUT_DIR> Output directory for results
126+ -v, --verbose Increase verbosity (-v, -vv, -vvv)
127+ -h, --help Print help
128+ -V, --version Print version
123129```
124130
125131## Examples
@@ -178,5 +184,12 @@ Licensed under the Apache License, Version 2.0
178184## Changelog
179185
180186### Recent Updates
181- - ** v0.2.0 (2025/08/21):** Backend.AI multi-node session support with automatic cluster detection and SSH port 2200
187+ - ** v0.2.0 (2025/08/21):**
188+ - Backend.AI multi-node session support with automatic cluster detection
189+ - SSH agent authentication support with auto-detection
190+ - Host key verification with StrictHostKeyChecking modes
191+ - Environment variable expansion in configuration (${VAR})
192+ - Connection and execution timeouts
193+ - Fixed list command to work without host specification
194+ - Basic SCP file copy support
182195- ** v0.1.0 (2025/08/21):** Initial release with parallel SSH execution using async-ssh2-tokio
0 commit comments