http://qs321.pair.com?node_id=11106238


in reply to Re: How do you use Net::OpenSSH to query mysql database via ssh tunnel
in thread How do you use Net::OpenSSH to query mysql database via ssh tunnel

is there a problem if you already have an instantiated object (forwarding LOCAL_PORT) and try to create a new connection?

Replies are listed 'Best First'.
Re^3: How do you use Net::OpenSSH to query mysql database via ssh tunnel
by Skeeve (Parson) on Sep 16, 2019 at 16:42 UTC

    I'm sure there is because the port already is in use.

    I didn't try to create the ultimat CPAN-ready Module, but just a module for my problem-at-hand.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

      ok, (i was not trying to be pedantic).