mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Fix ssh authentication on newer ssh clients
For Console monitor on network ports
This commit is contained in:
parent
c99ab12446
commit
93578cef42
@ -68,6 +68,7 @@ public class NetworkMonitor extends AbstractTextMonitor implements MessageConsum
|
||||
SSHClientSetupChainRing sshClientSetupChain = new SSHConfigFileSetup(new SSHPwdSetup());
|
||||
session = sshClientSetupChain.setup(getBoardPort(), jSch);
|
||||
|
||||
session.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password");
|
||||
session.setUserInfo(new NoInteractionUserInfo(PreferencesData.get(getAuthorizationKey())));
|
||||
session.connect(30000);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user