my $my_header = $header; $my_header =~ s/system/$system/; $ssh->expect ( $timeout,