The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::SSH::Any::Backend::Sexec_Cmd - Backend for Bitwise's Tunnelier sexec tool

SYNOPSIS

  use Net::SSH::Any;

  my $profile_path = "C:\\Documents and Settings\\JSmith\\My Documents\\$host.bscp";

  my $ssh = Net::SSH::Any->new($host, backends => 'Sexec_Cmd',
                               backend_opts => {
                                   Sexec_Cmd => { profile_path => $profile_path }
                               });
  my $output = $ssh->capture("echo hello world");

DESCRIPTION

This module implements a Net::SSH::Any backend using the obscure Bitwise's Tunnelier utility sexec.

Together with the Plink_Cmd backend this is probably one of the easiest ways to get a working, password authenticated SSH connection on Windows.

The biggest downside is that Tunnelier is a commercial application and you should pay for it if you use it for business.

One very nice feature of this backend is that you can use the host profiles created with the Tunnelier application to define connection parameters, specially authentication items as passwords or kerberos configurations.

BACKEND OPTIONS

The backend accepts the following custom options:

profile_path => $path

Uses the profile defined in the given file to set the connection options.

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Salvador Fandiño, <sfandino@yahoo.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.