Because the right way to do connect to a remote DB through a SSH gateway would be to call socketpair, attach the command ssh $remote_host -W${db_host}:${db_port} to one side and then pass the other to the DBD::mysql.
In reply to Re: Using Net::SSH2 with DBI
by salva
in thread Using Net::SSH2 with DBI
by diyaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |