airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch staging updated: Setting default maximum sessions for a ssh connection to 1
Date Tue, 10 Jul 2018 20:12:05 GMT
This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new 2de372e  Setting default maximum sessions for a ssh connection to 1
2de372e is described below

commit 2de372ee367223fb8417563ffa10477c44c17228
Author: dimuthu <dimuthu.upeksha2@gmail.com>
AuthorDate: Tue Jul 10 16:11:57 2018 -0400

    Setting default maximum sessions for a ssh connection to 1
---
 .../main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
index 8b41db3..4349844 100644
--- a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
+++ b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
@@ -62,7 +62,7 @@ public class SSHJAgentAdaptor implements AgentAdaptor {
         sshjClient = new PoolingSSHJClient(defaultConfig, host, 22);
         sshjClient.addHostKeyVerifier((hostname, port, key) -> true);
 
-        sshjClient.setMaxSessionsForConnection(10);
+        sshjClient.setMaxSessionsForConnection(1);
 
         PasswordFinder passwordFinder = passphrase != null ? PasswordUtils.createOneOff(passphrase.toCharArray())
: null;
 


Mime
View raw message