Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ssh and scp client preferred authentications setting #1252

Open
ubertsch opened this issue Nov 5, 2024 · 2 comments
Open

Add ssh and scp client preferred authentications setting #1252

ubertsch opened this issue Nov 5, 2024 · 2 comments
Labels
Prio: Medium State: To discuss In case there are open questions concerning the issue Type: Enhancement

Comments

@ubertsch
Copy link

ubertsch commented Nov 5, 2024

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
<xs:attribute name="preferred-authentications" type="xs:string">
xs:annotation
xs:documentation Ordered list of preferred authentications. Client will try to authentication with these methods first. </xs:documentation>
</xs:annotation>
</xs:attribute>

@bbortt bbortt added State: To discuss In case there are open questions concerning the issue Type: Enhancement Prio: Medium labels Nov 5, 2024
@bbortt
Copy link
Collaborator

bbortt commented Nov 5, 2024

hi and thanks for the ticket!

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

is that based on your personal experience or some standard (or library that implements auth in this order)?

and would you be willing to submit this feature (with help, if needed)? it should be done quit fast.

@ubertsch
Copy link
Author

ubertsch commented Nov 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: Medium State: To discuss In case there are open questions concerning the issue Type: Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants