提交 b049cd24 编写于 作者: J jurgen

SSH tunnel preferred auth option added

上级 5ba61781
Major:
S/DB selector combo works as crap
Multiple tabs - tab removed after execute
error: S/DB selector combo works as crap
SOCKS proxy, HTTP proxy
1. Browse data by foreign keys
......
......@@ -119,6 +119,8 @@ public class SSHTunnelImpl implements DBWTunnel {
session = jsch.getSession(sshUser, sshHost, sshPortNum);
session.setConfig("StrictHostKeyChecking", "no");
session.setConfig("PreferredAuthentications",
privKeyFile != null ? "publickey" : "password");
session.setUserInfo(ui);
session.connect();
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册