Set auth timeout along with idle in SshProxyServer
[controller.git] / opendaylight / netconf / netconf-ssh / src / main / java / org / opendaylight / controller / netconf / ssh / SshProxyServer.java
index 8728f0c671cf558dabaeb4af209c82fdaf9877fa..20088fe87603f353fcd560f81e1e1b55e0d2855b 100644 (file)
@@ -72,6 +72,8 @@ public class SshProxyServer implements AutoCloseable {
         return new HashMap<String, String>()
         {{
             put(ServerFactoryManager.IDLE_TIMEOUT, String.valueOf(sshProxyServerConfiguration.getIdleTimeout()));
+            // TODO make auth timeout configurable on its own
+            put(ServerFactoryManager.AUTH_TIMEOUT, String.valueOf(sshProxyServerConfiguration.getIdleTimeout()));
         }};
     }