in reply to Re: Using Net::SSH2 with DBI
in thread Using Net::SSH2 with DBI

After a quick search, this is almost exactly what you stated in this post in this thread nearly three years ago :)

From what I can tell, not much has changed.

Replies are listed 'Best First'.
Re^3: Using Net::SSH2 with DBI
by Corion (Patriarch) on Jan 19, 2016 at 19:28 UTC

    I would really like there to be a nicer/more integrated solution, but I think with libssh2, you have to do the packet forwarding yourself, which means that you will need at least threads or some very clever asynchronous framework to run both the forwarding and DBI queries. And spawning an external process is much simpler than that, at least if you have the ssh executable available.