citrusframework / citrusframework/citrus

Add ssh and scp client preferred authentications setting

Open
#1,252 2 comments 0 reactions 0 assignees View on GitHub
enhancement prio-medium to-discuss
Dominant language
Java
Stars
485
Forks
155
Avg merge
4d 22h
Merged PRs (30d)
6

Description

Please provide for the SSH and SCP Client the same Solution implemented in the Ticket "Add SFTP client preferred authentications setting #483"

Jsch Sftp client provides the configuration setting for preferred authentication methods

session.setConfig("PreferredAuthentications", "publickey,password,keyboard-interactive");
By default gssapi-with-mic is the first method which results in any client operation to promt for Kerberos 5 username and password credentials. Add this configuration setting to the client endpoint component so users can choose the order of preferred authentication methods.

By default choose publickey,password,gssapi-with-mic,keyboard-interactive

https://[citrusframework.org/schema/sftp/config/citrus-sftp-config.xsd](https://citrusframework.org/schema/sftp/config/citrus-sftp-config.xsd)

Ordered list of preferred authentications. Client will try to authentication with these methods first.

Contributor guide

Open the contributing guide

Research direction

Compare the SSH and SCP client endpoint configuration with the SFTP preferred-authentications solution from ticket #483. Start with the client endpoint configuration and the referenced citrus-sftp-config.xsd pattern, then verify that the configured order and the requested default are exposed for both clients and covered by the existing relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.