Help for this page

Select Code to Download


  1. or download this
     
    #!/bin/bash
    ssh <remotehost> bash -s <<EOF
    <local bash script written here>
    EOF
    
  2. or download this
     #!/usr/bin/perl
    my $output = `ssh <remotehost> bash -s` <<EOF
    <local bash script written here>
    EOF