Getting started Community Training Tutorials Documentation APIs, AI & Tools
Configure Preferred Authentication Methods
Configure Preferred Authentication Methods
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
Anypoint Connector for SFTP (SFTP Connector) enables you to configure preferred authentication methods in the SFTP global configuration of the connector. The following example shows how to configure different authentication methods in Anypoint Studio.
In Studio, navigate to the Global Elements tab.
In the Choose Global Type window, type sftp in the search bar.
Select SFTP Config.
Click OK.
Set Preferred authentication methods to Edit inline.
Click the plus sign to add one of the valid authentication methods: GSSAPI_WITH_MIC, PUBLIC_KEY, KEYBOARD_INTERACTIVE, or PASSWORD.
Set Value to GSSAPI_WITH_MIC.
Complete the remaining connection fields.
Click Test Connection….
Click OK.
In the Configuration XML editor window, the configuration looks like this:
<sftp:config name="SFTP_Config" doc:name="SFTP Config" >
<sftp:connection host="localhost" >
<sftp:preferred-authentication-methods >
<sftp:preferred-authentication-method value="GSSAPI_WITH_MIC" />
</sftp:preferred-authentication-methods>
</sftp:connection>
</sftp:config>