mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
parallel: --slf . now reads /etc/parallel/sshloginfile
This commit is contained in:
parent
379c0cd36b
commit
add040c278
|
@ -1490,6 +1490,9 @@ sub read_sshloginfile {
|
||||||
if($file eq "..") {
|
if($file eq "..") {
|
||||||
$file = $ENV{'HOME'}."/.parallel/sshloginfile";
|
$file = $ENV{'HOME'}."/.parallel/sshloginfile";
|
||||||
}
|
}
|
||||||
|
if($file eq ".") {
|
||||||
|
$file = "/etc/parallel/sshloginfile";
|
||||||
|
}
|
||||||
if($file eq "-") {
|
if($file eq "-") {
|
||||||
*IN = *STDIN;
|
*IN = *STDIN;
|
||||||
$close = 0;
|
$close = 0;
|
||||||
|
|
|
@ -1113,9 +1113,9 @@ B<--sshlogin> is often used with B<--transfer>, B<--return>,
|
||||||
B<--cleanup>, and B<--trc>.
|
B<--cleanup>, and B<--trc>.
|
||||||
|
|
||||||
|
|
||||||
=item B<--sshloginfile> I<filename>
|
=item B<--sshloginfile> I<filename> (alpha testing)
|
||||||
|
|
||||||
=item B<--slf> I<filename>
|
=item B<--slf> I<filename> (alpha testing)
|
||||||
|
|
||||||
File with sshlogins. The file consists of sshlogins on separate
|
File with sshlogins. The file consists of sshlogins on separate
|
||||||
lines. Empty lines and lines starting with '#' are ignored. Example:
|
lines. Empty lines and lines starting with '#' are ignored. Example:
|
||||||
|
@ -1143,6 +1143,9 @@ Multiple B<--sshloginfile> are allowed.
|
||||||
The sshloginfile '..' is special, it read sshlogins from
|
The sshloginfile '..' is special, it read sshlogins from
|
||||||
~/.parallel/sshloginfile
|
~/.parallel/sshloginfile
|
||||||
|
|
||||||
|
The sshloginfile '.' is special, it read sshlogins from
|
||||||
|
/etc/parallel/sshloginfile
|
||||||
|
|
||||||
The sshloginfile '-' is special, too, it read sshlogins from stdin
|
The sshloginfile '-' is special, too, it read sshlogins from stdin
|
||||||
(standard input).
|
(standard input).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue