Help for this page

Select Code to Download


  1. or download this
    my $ssh = Net::OpenSSH->new( $host );
    push @{$ssh->{_ssh_opts}}, '-oConnectionAttempts=0';
    ...
    
  2. or download this
    my $ssh = Net::OpenSSH->new($host,
                                default_ssh_opts => [-o => 'ConnectionAtte
    +mpts=0'],
                                ...);