in reply to Re^2: Using Net::SSH2 with DBI
in thread Using Net::SSH2 with DBI
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.
|
|---|