Lahiru Jayathilake created AIRAVATA-3918:
--------------------------------------------
Summary: Upgrade SSHJ Library to Support Modern RSA Key Algorithms
Key: AIRAVATA-3918
URL: https://issues.apache.org/jira/browse/AIRAVATA-3918
Project: Airavata
Issue Type: Improvement
Components: Airavata API
Affects Versions: 0.21
Reporter: Lahiru Jayathilake
The current implementation utilizes SSHJ version 0.29.0, which lacks support
for modern RSA key algorithms such as rsa-sha2-256 and rsa-sha2-512. This
limitation leads to authentication failures when connecting to servers that
require these algorithms. Upgrading to SSHJ version 0.39.0 resolves this issue
by providing the necessary support for these algorithms.
{code:java}
Failed to setup environment of task
TASK_a939fcf5-7f99-4824-9071-abeb4ef464ddorg.apache.airavata.helix.impl.task.TaskOnFailException:
Error Code : a8f9d4bf-8f74-4de4-a797-aefedda6788e, Task
TASK_a939fcf5-7f99-4824-9071-abeb4ef464dd failed due to Failed to setup
environment of task TASK_a939fcf5-7f99-4824-9071-abeb4ef464dd,
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication
methods
at
org.apache.airavata.helix.impl.task.AiravataTask.onFail(AiravataTask.java:146)
at
org.apache.airavata.helix.impl.task.env.EnvSetupTask.onRun(EnvSetupTask.java:58)
at
org.apache.airavata.helix.impl.task.AiravataTask.onRun(AiravataTask.java:437)
at
org.apache.airavata.helix.core.AbstractTask.run(AbstractTask.java:102)
at org.apache.helix.task.TaskRunner.run(TaskRunner.java:71)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.airavata.agents.api.AgentException:
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication
methods
at
org.apache.airavata.helix.adaptor.SSHJAgentAdaptor.createDirectory(SSHJAgentAdaptor.java:225)
at
org.apache.airavata.helix.impl.task.env.EnvSetupTask.onRun(EnvSetupTask.java:54)
... 9 more {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)