I have database in MySql 5 server, but it needs ssh connection.
I want to use hibernate but I don’t know how to configure hibernate.cfg.xml file for connect to ssh server.
Of course, I tried to find the answer in google, but I did not find anything.
Also I tried use Putty, but it’s also not help.
I have database in MySql 5 server, but it needs ssh connection. I want
Share
I hope you can use Jsch for ssh hibernate, For examples about Jsch clickhere
Here is the link it could help you to solve the SSH in hibernate.