Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    foreach my $server qw( oldserver newserver strangeserver ) {
        system "pscp workscript.pl user\@$server:/tmp/workscript.pl";
    }
    
  2. or download this
        system "plink user\@$server perl /tmp/workscript.pl -foo -bar -kab
    +oom";