You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2018/01/30 18:38:18 UTC
[karaf] branch master updated: [KARAF-5584] Upgrade to SSHD 1.7.0
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/master by this push:
new c45fbf8 [KARAF-5584] Upgrade to SSHD 1.7.0
c45fbf8 is described below
commit c45fbf8d8a2683807f8be593524af887fbe3d097
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Tue Jan 30 17:00:45 2018 +0100
[KARAF-5584] Upgrade to SSHD 1.7.0
---
pom.xml | 2 +-
shell/ssh/src/main/java/org/apache/karaf/shell/ssh/Activator.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index baea580..31d4c7e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -295,7 +295,7 @@
<spring50.version>5.0.2.RELEASE_1</spring50.version>
<spring.security31.version>3.1.4.RELEASE</spring.security31.version>
- <sshd.version>1.6.0</sshd.version>
+ <sshd.version>1.7.0</sshd.version>
<derby-version>10.12.1.1</derby-version>
<directory-version>2.0.0-M24</directory-version>
<struts.bundle.version>1.3.10_1</struts.bundle.version>
diff --git a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/Activator.java b/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/Activator.java
index bdd0aaf..d07e9ec 100644
--- a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/Activator.java
+++ b/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/Activator.java
@@ -183,7 +183,7 @@ public class Activator extends BaseActivator implements ManagedService {
server.setPublickeyAuthenticator(authenticator);
server.setUserAuthFactories(authFactoriesFactory.getFactories());
server.setAgentFactory(KarafAgentFactory.getInstance());
- server.setTcpipForwardingFilter(AcceptAllForwardingFilter.INSTANCE);
+ server.setForwardingFilter(AcceptAllForwardingFilter.INSTANCE);
server.getProperties().put(SshServer.IDLE_TIMEOUT, Long.toString(sshIdleTimeout));
server.getProperties().put(SshServer.NIO_WORKERS, Integer.toString(nioWorkers));
if (moduliUrl != null) {
--
To stop receiving notification emails like this one, please contact
gnodet@apache.org.