Help for this page

Select Code to Download


  1. or download this
    my @nodes = (
                  { host      => "somenode1.domain.local",
    ...
                  }
                  # ...
                );
    
  2. or download this
    my @CONNECTCOMMANDS;
    for my $host (@nodes) {
         push @CONNECTCOMMANDS, "$SSHCOMMAND -ssh $host->{username}\@$host
    + -pw $host->{password}";
    }
    
  3. or download this
    my @connection_commands = (
         'plink.exe -ssh user1@somenode1.domain.local -pw password1',
         'plink.exe -ssh user2@somenode2.domain.local -pw password2',
         # ...
         );