@@ -14,8 +14,9 @@ bssh \- Backend.AI SSH - Parallel command execution across cluster nodes
1414is a high-performance parallel SSH command execution tool for cluster management, built with Rust.
1515It enables efficient execution of commands across multiple nodes simultaneously with real-time output streaming.
1616The tool provides secure file transfer capabilities using SFTP protocol for both uploading and downloading files
17- to/from multiple remote hosts in parallel. It automatically detects Backend.AI multi-node session environments
18- and supports various configuration methods.
17+ to/from multiple remote hosts in parallel. It supports multiple authentication methods including SSH keys (with
18+ passphrase support for encrypted keys), SSH agent, and password authentication. It automatically detects Backend.AI
19+ multi-node session environments and supports various configuration methods.
1920
2021.SH OPTIONS
2122.TP
@@ -37,7 +38,8 @@ Default username for SSH connections
3738
3839.TP
3940.BR \- i " , " \-\- identity " " \fI IDENTITY \fR
40- SSH private key file path
41+ SSH private key file path. If the key is encrypted, bssh will
42+ automatically prompt for the passphrase.
4143
4244.TP
4345.BR \- A " , " \-\- use\- agent
@@ -46,6 +48,12 @@ When this option is specified, bssh will attempt to use the SSH agent
4648for authentication. Falls back to key file authentication if the agent
4749is not available or authentication fails.
4850
51+ .TP
52+ .BR \- P " , " \-\- password
53+ Use password authentication. When this option is specified, bssh will
54+ prompt for the password securely without echoing it to the terminal.
55+ This is useful for systems that don't have SSH keys configured.
56+
4957.TP
5058.BR \- p " , " \-\- parallel " " \fI PARALLEL \fR
5159Maximum parallel connections (default: 10)
@@ -205,6 +213,20 @@ Use custom SSH key:
205213Use SSH agent for authentication:
206214.B bssh -A -c production "systemctl status"
207215
216+ .TP
217+ Use password authentication:
218+ .B bssh -P -H "user@host.com" "uptime"
219+ .RS
220+ Prompts for password interactively
221+ .RE
222+
223+ .TP
224+ Use encrypted SSH key:
225+ .B bssh -i ~/.ssh/encrypted_key -c production "df -h"
226+ .RS
227+ Automatically detects encrypted key and prompts for passphrase
228+ .RE
229+
208230.TP
209231Save output to files:
210232.B bssh --output-dir ./results -c production "ps aux"
@@ -299,8 +321,9 @@ User configuration directory location
299321SSH known hosts file for host key verification
300322
301323.TP
302- .I ~/.ssh/id_rsa
303- Default SSH private key
324+ .I ~/.ssh/id_ed25519, ~/.ssh/id_rsa, ~/.ssh/id_ecdsa, ~/.ssh/id_dsa
325+ Default SSH private keys (checked in order of preference). If a key is
326+ encrypted, bssh will prompt for the passphrase.
304327
305328.TP
306329.I $SSH_AUTH_SOCK
0 commit comments