Add ssh and scp client preferred authentications setting #1252
Labels
Prio: Medium
State: To discuss
In case there are open questions concerning the issue
Type: Enhancement
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>
The text was updated successfully, but these errors were encountered: