I am trying to connect to the remote database using JDBC and JSCH. To achieve that, I am using this tutorial: Connect to Remote database Note that it provides the connection