网络状况

                        通过xshell 建立ssh隧道连接数据库

一、本机xshell 建立隧道

    1、先测试server1 上能Telnet通 server2的23400端口

              通过xshell 建立ssh隧道连接数据库

    2、xhell 新建连接

             通过xshell 建立ssh隧道连接数据库

            通过xshell 建立ssh隧道连接数据库

  3、xshell 打开链接。

           通过xshell 建立ssh隧道连接数据库

二、用数据库连接工具连接数据库;

   1、确认端口打开

           telenet 127.0.0.1 2121 

   2、数据库连接工具连接端口(这里用squirrel 连接esgyn数据库)。

          通过xshell 建立ssh隧道连接数据库

 

 

相关文章: