Skip to content

Commit 93578ce

Browse files
committed
Fix ssh authentication on newer ssh clients
For Console monitor on network ports
1 parent c99ab12 commit 93578ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/processing/app/NetworkMonitor.java

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public void open() throws Exception {
6868
SSHClientSetupChainRing sshClientSetupChain = new SSHConfigFileSetup(new SSHPwdSetup());
6969
session = sshClientSetupChain.setup(getBoardPort(), jSch);
7070

71+
session.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password");
7172
session.setUserInfo(new NoInteractionUserInfo(PreferencesData.get(getAuthorizationKey())));
7273
session.connect(30000);
7374

0 commit comments

Comments
 (0)