Use SSH Tunnelling manually
- ssh -L 3307:localhost:3306 serverIp -p 22
- jdbc:mysql://localhost:3307/
Use AutoSSH Software
- create a persistent tunnel LINUX
- Windows need cygwin
Use code
- need SSH support framework (Jcraft Lib. etc.)
- nees SSH configuaretion and communication impl.
- use Listener handler connection via SSH
- SPRING BOOT SSH MYSQL
本文由 Ivan Dong 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Jul 7, 2023 at 04:21 am