in reply to Re^2: NET::Foreign Commands
in thread NET::Foreign Commands

Tectia's clients reuse the connections transparently.

If you call sshg3 while the SFTP connection is open, it would send the command through it (well, IIRC, unless you tell sshg3 explicitly to not do it with the --exclusive option).

Also, the development version of my other module, Net::SSH::Any, has a backend for sshg3:

use Net::SSH::Any; my $ssh = Net::SSH::Any->new($host, user => $user, password => $password, backend => 'Sshg3_Cmd'); $ssh->error and die "unable to connect to $host"; my $output = $ssh->capture('ls');

Unfortunatelly, at this point, Net::SSH::Any integration with Net::SFTP::Foreign is broken.

Replies are listed 'Best First'.
Re^4: NET::Foreign Commands
by moz (Novice) on Feb 06, 2015 at 20:31 UTC
    Do you have a time frame on the release of your development version? This looks like a perfect solution for what I am trying to accomplish. It is frustrating that even though the SFTP connection opens a sshg3.exe process I cant make normal ssh calls with it. Thanks for your help.
      Not really, I work on Net::SSH::Any mostly for fun on my quite scarce spare time so, I can not commit to any time frame.