in reply to Using Net::SSH2 with DBI
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Net::SSH2 with DBI
by oiskuu (Hermit) on Jan 21, 2016 at 12:45 UTC | |
|
Re^2: Using Net::SSH2 with DBI
by Anonymous Monk on Jan 20, 2016 at 15:26 UTC | |
by Corion (Patriarch) on Jan 20, 2016 at 15:27 UTC | |
by Anonymous Monk on Jan 20, 2016 at 15:34 UTC | |
by Corion (Patriarch) on Jan 20, 2016 at 15:37 UTC |