How to create a ssh tunnel in ruby and then connect to mysql server on the remote host

前端 未结 5 1404
有刺的猬
有刺的猬 2020-12-12 20:56

I would like to create a ruby script that I can run mysql commands on a remote server through a ssh tunnel.

Right now I have a manual process to do this:

5条回答
提交回复
热议问题