Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.

Commit 2d69cda

Browse files
committed
Document 'ssh-test'.
1 parent 3f33ee5 commit 2d69cda

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,32 @@ Example:
324324
publickey
325325

326326

327+
328+
ssh-test
329+
--------
330+
331+
Test whether `ssh` connections to a list of hosts will succeed, by testing
332+
each in order.
333+
334+
Example:
335+
336+
$ ./ssh-test host.list.txt
337+
ssh.steve.org.uk ... OK
338+
www.steve.org.uk ... OK
339+
foo.example.com:222 ... OK
340+
341+
$ cat host.list.txt
342+
ssh.steve.org.uk
343+
www.steve.org.uk
344+
foo.example.com:222
345+
346+
The format of the input-file is:
347+
348+
[user@]hostname1[:port]
349+
[user@]hostname2[:port]
350+
..
351+
352+
327353
splay
328354
-----
329355

0 commit comments

Comments
 (0)